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

Percentage Accurate: 98.3% → 98.3%
Time: 13.2s
Alternatives: 18
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 18 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.3% 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.3% 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.8%

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

    \[\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: 81.3% accurate, 0.6× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \log a \cdot \left(t - 1\right)\\ t_2 := \frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \mathbf{if}\;t\_1 \leq -5 \cdot 10^{+34}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t\_1 \leq 280:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)}}{e^{b} \cdot y} \cdot x\\ \mathbf{elif}\;t\_1 \leq 680:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \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 (/ (* (exp (- (* (log a) t) b)) x) y)))
   (if (<= t_1 -5e+34)
     t_2
     (if (<= t_1 280.0)
       (* (/ (pow a (- t 1.0)) (* (exp b) y)) x)
       (if (<= t_1 680.0) (/ (/ (* (pow z y) x) y) a) 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 = (exp(((log(a) * t) - b)) * x) / y;
	double tmp;
	if (t_1 <= -5e+34) {
		tmp = t_2;
	} else if (t_1 <= 280.0) {
		tmp = (pow(a, (t - 1.0)) / (exp(b) * y)) * x;
	} else if (t_1 <= 680.0) {
		tmp = ((pow(z, y) * x) / y) / a;
	} 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 = (exp(((log(a) * t) - b)) * x) / y
    if (t_1 <= (-5d+34)) then
        tmp = t_2
    else if (t_1 <= 280.0d0) then
        tmp = ((a ** (t - 1.0d0)) / (exp(b) * y)) * x
    else if (t_1 <= 680.0d0) then
        tmp = (((z ** y) * x) / y) / a
    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.exp(((Math.log(a) * t) - b)) * x) / y;
	double tmp;
	if (t_1 <= -5e+34) {
		tmp = t_2;
	} else if (t_1 <= 280.0) {
		tmp = (Math.pow(a, (t - 1.0)) / (Math.exp(b) * y)) * x;
	} else if (t_1 <= 680.0) {
		tmp = ((Math.pow(z, y) * x) / y) / a;
	} 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.exp(((math.log(a) * t) - b)) * x) / y
	tmp = 0
	if t_1 <= -5e+34:
		tmp = t_2
	elif t_1 <= 280.0:
		tmp = (math.pow(a, (t - 1.0)) / (math.exp(b) * y)) * x
	elif t_1 <= 680.0:
		tmp = ((math.pow(z, y) * x) / y) / a
	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(exp(Float64(Float64(log(a) * t) - b)) * x) / y)
	tmp = 0.0
	if (t_1 <= -5e+34)
		tmp = t_2;
	elseif (t_1 <= 280.0)
		tmp = Float64(Float64((a ^ Float64(t - 1.0)) / Float64(exp(b) * y)) * x);
	elseif (t_1 <= 680.0)
		tmp = Float64(Float64(Float64((z ^ y) * x) / y) / a);
	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 = (exp(((log(a) * t) - b)) * x) / y;
	tmp = 0.0;
	if (t_1 <= -5e+34)
		tmp = t_2;
	elseif (t_1 <= 280.0)
		tmp = ((a ^ (t - 1.0)) / (exp(b) * y)) * x;
	elseif (t_1 <= 680.0)
		tmp = (((z ^ y) * x) / y) / a;
	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[Exp[N[(N[(N[Log[a], $MachinePrecision] * t), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision]}, If[LessEqual[t$95$1, -5e+34], t$95$2, If[LessEqual[t$95$1, 280.0], N[(N[(N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision] / N[(N[Exp[b], $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[t$95$1, 680.0], N[(N[(N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision] / a), $MachinePrecision], t$95$2]]]]]
\begin{array}{l}

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

\mathbf{elif}\;t\_1 \leq 280:\\
\;\;\;\;\frac{{a}^{\left(t - 1\right)}}{e^{b} \cdot y} \cdot x\\

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

\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)) < -4.9999999999999998e34 or 680 < (*.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 t around inf

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

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

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

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

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

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

    if -4.9999999999999998e34 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < 280

    1. Initial program 97.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 y around 0

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

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

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

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

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

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

        \[\leadsto \frac{x \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{e^{b}}}{y} \]
      7. lower-exp.f6477.3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{{a}^{\left(t - 1\right)}}{\color{blue}{y \cdot e^{b}}} \cdot x \]
      8. lower-exp.f6477.3

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

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

    if 280 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < 680

    1. Initial program 98.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--.f6480.0

        \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
    5. Applied rewrites80.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 rewrites87.0%

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

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

            \[\leadsto \frac{\frac{{z}^{y} \cdot x}{y}}{a} \]
        3. Recombined 3 regimes into one program.
        4. Final simplification86.9%

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

        Alternative 3: 75.3% accurate, 0.6× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \log a \cdot \left(t - 1\right)\\ \mathbf{if}\;t\_1 \leq -681.2:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)}}{y} \cdot x\\ \mathbf{elif}\;t\_1 \leq 280:\\ \;\;\;\;\frac{\frac{e^{-b}}{a} \cdot x}{y}\\ \mathbf{elif}\;t\_1 \leq 10^{+90}:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{\log a \cdot t} \cdot x}{y}\\ \end{array} \end{array} \]
        (FPCore (x y z t a b)
         :precision binary64
         (let* ((t_1 (* (log a) (- t 1.0))))
           (if (<= t_1 -681.2)
             (* (/ (pow a (- t 1.0)) y) x)
             (if (<= t_1 280.0)
               (/ (* (/ (exp (- b)) a) x) y)
               (if (<= t_1 1e+90)
                 (/ (/ (* (pow z y) x) y) a)
                 (/ (* (exp (* (log a) t)) x) y))))))
        double code(double x, double y, double z, double t, double a, double b) {
        	double t_1 = log(a) * (t - 1.0);
        	double tmp;
        	if (t_1 <= -681.2) {
        		tmp = (pow(a, (t - 1.0)) / y) * x;
        	} else if (t_1 <= 280.0) {
        		tmp = ((exp(-b) / a) * x) / y;
        	} else if (t_1 <= 1e+90) {
        		tmp = ((pow(z, y) * x) / y) / a;
        	} else {
        		tmp = (exp((log(a) * t)) * 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) :: t_1
            real(8) :: tmp
            t_1 = log(a) * (t - 1.0d0)
            if (t_1 <= (-681.2d0)) then
                tmp = ((a ** (t - 1.0d0)) / y) * x
            else if (t_1 <= 280.0d0) then
                tmp = ((exp(-b) / a) * x) / y
            else if (t_1 <= 1d+90) then
                tmp = (((z ** y) * x) / y) / a
            else
                tmp = (exp((log(a) * t)) * 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 t_1 = Math.log(a) * (t - 1.0);
        	double tmp;
        	if (t_1 <= -681.2) {
        		tmp = (Math.pow(a, (t - 1.0)) / y) * x;
        	} else if (t_1 <= 280.0) {
        		tmp = ((Math.exp(-b) / a) * x) / y;
        	} else if (t_1 <= 1e+90) {
        		tmp = ((Math.pow(z, y) * x) / y) / a;
        	} else {
        		tmp = (Math.exp((Math.log(a) * t)) * x) / y;
        	}
        	return tmp;
        }
        
        def code(x, y, z, t, a, b):
        	t_1 = math.log(a) * (t - 1.0)
        	tmp = 0
        	if t_1 <= -681.2:
        		tmp = (math.pow(a, (t - 1.0)) / y) * x
        	elif t_1 <= 280.0:
        		tmp = ((math.exp(-b) / a) * x) / y
        	elif t_1 <= 1e+90:
        		tmp = ((math.pow(z, y) * x) / y) / a
        	else:
        		tmp = (math.exp((math.log(a) * t)) * x) / y
        	return tmp
        
        function code(x, y, z, t, a, b)
        	t_1 = Float64(log(a) * Float64(t - 1.0))
        	tmp = 0.0
        	if (t_1 <= -681.2)
        		tmp = Float64(Float64((a ^ Float64(t - 1.0)) / y) * x);
        	elseif (t_1 <= 280.0)
        		tmp = Float64(Float64(Float64(exp(Float64(-b)) / a) * x) / y);
        	elseif (t_1 <= 1e+90)
        		tmp = Float64(Float64(Float64((z ^ y) * x) / y) / a);
        	else
        		tmp = Float64(Float64(exp(Float64(log(a) * t)) * x) / y);
        	end
        	return tmp
        end
        
        function tmp_2 = code(x, y, z, t, a, b)
        	t_1 = log(a) * (t - 1.0);
        	tmp = 0.0;
        	if (t_1 <= -681.2)
        		tmp = ((a ^ (t - 1.0)) / y) * x;
        	elseif (t_1 <= 280.0)
        		tmp = ((exp(-b) / a) * x) / y;
        	elseif (t_1 <= 1e+90)
        		tmp = (((z ^ y) * x) / y) / a;
        	else
        		tmp = (exp((log(a) * t)) * x) / y;
        	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]}, If[LessEqual[t$95$1, -681.2], N[(N[(N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[t$95$1, 280.0], N[(N[(N[(N[Exp[(-b)], $MachinePrecision] / a), $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[t$95$1, 1e+90], N[(N[(N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision] / a), $MachinePrecision], N[(N[(N[Exp[N[(N[Log[a], $MachinePrecision] * t), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision]]]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \log a \cdot \left(t - 1\right)\\
        \mathbf{if}\;t\_1 \leq -681.2:\\
        \;\;\;\;\frac{{a}^{\left(t - 1\right)}}{y} \cdot x\\
        
        \mathbf{elif}\;t\_1 \leq 280:\\
        \;\;\;\;\frac{\frac{e^{-b}}{a} \cdot x}{y}\\
        
        \mathbf{elif}\;t\_1 \leq 10^{+90}:\\
        \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\
        
        \mathbf{else}:\\
        \;\;\;\;\frac{e^{\log a \cdot t} \cdot x}{y}\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 4 regimes
        2. if (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < -681.20000000000005

          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 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--.f6469.0

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

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

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

            if -681.20000000000005 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < 280

            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 y around 0

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

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

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

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

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

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

                \[\leadsto \frac{x \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{e^{b}}}{y} \]
              7. lower-exp.f6477.9

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

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

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

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

              if 280 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < 9.99999999999999966e89

              1. Initial program 98.8%

                \[\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--.f6466.9

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

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

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

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

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

                    if 9.99999999999999966e89 < (*.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 t around inf

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

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

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

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

                        \[\leadsto \frac{x \cdot e^{t \cdot \log \color{blue}{a}}}{y} \]
                    5. Applied rewrites93.1%

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

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

                  Alternative 4: 75.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 -681.2:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t\_1 \leq 280:\\ \;\;\;\;\frac{\frac{e^{-b}}{a} \cdot x}{y}\\ \mathbf{elif}\;t\_1 \leq 10^{+90}:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \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 -681.2)
                       t_2
                       (if (<= t_1 280.0)
                         (/ (* (/ (exp (- b)) a) x) y)
                         (if (<= t_1 1e+90) (/ (/ (* (pow z y) x) y) a) 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 <= -681.2) {
                  		tmp = t_2;
                  	} else if (t_1 <= 280.0) {
                  		tmp = ((exp(-b) / a) * x) / y;
                  	} else if (t_1 <= 1e+90) {
                  		tmp = ((pow(z, y) * x) / y) / a;
                  	} 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 <= (-681.2d0)) then
                          tmp = t_2
                      else if (t_1 <= 280.0d0) then
                          tmp = ((exp(-b) / a) * x) / y
                      else if (t_1 <= 1d+90) then
                          tmp = (((z ** y) * x) / y) / a
                      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 <= -681.2) {
                  		tmp = t_2;
                  	} else if (t_1 <= 280.0) {
                  		tmp = ((Math.exp(-b) / a) * x) / y;
                  	} else if (t_1 <= 1e+90) {
                  		tmp = ((Math.pow(z, y) * x) / y) / a;
                  	} 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 <= -681.2:
                  		tmp = t_2
                  	elif t_1 <= 280.0:
                  		tmp = ((math.exp(-b) / a) * x) / y
                  	elif t_1 <= 1e+90:
                  		tmp = ((math.pow(z, y) * x) / y) / a
                  	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 <= -681.2)
                  		tmp = t_2;
                  	elseif (t_1 <= 280.0)
                  		tmp = Float64(Float64(Float64(exp(Float64(-b)) / a) * x) / y);
                  	elseif (t_1 <= 1e+90)
                  		tmp = Float64(Float64(Float64((z ^ y) * x) / y) / a);
                  	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 <= -681.2)
                  		tmp = t_2;
                  	elseif (t_1 <= 280.0)
                  		tmp = ((exp(-b) / a) * x) / y;
                  	elseif (t_1 <= 1e+90)
                  		tmp = (((z ^ y) * x) / y) / a;
                  	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, -681.2], t$95$2, If[LessEqual[t$95$1, 280.0], N[(N[(N[(N[Exp[(-b)], $MachinePrecision] / a), $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[t$95$1, 1e+90], N[(N[(N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision] / a), $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 -681.2:\\
                  \;\;\;\;t\_2\\
                  
                  \mathbf{elif}\;t\_1 \leq 280:\\
                  \;\;\;\;\frac{\frac{e^{-b}}{a} \cdot x}{y}\\
                  
                  \mathbf{elif}\;t\_1 \leq 10^{+90}:\\
                  \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\
                  
                  \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)) < -681.20000000000005 or 9.99999999999999966e89 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a))

                    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 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.1

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

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

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

                      if -681.20000000000005 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < 280

                      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 y around 0

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

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

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

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

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

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

                          \[\leadsto \frac{x \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{e^{b}}}{y} \]
                        7. lower-exp.f6477.9

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

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

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

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

                        if 280 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < 9.99999999999999966e89

                        1. Initial program 98.8%

                          \[\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--.f6466.9

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

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

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

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

                                \[\leadsto \frac{\frac{{z}^{y} \cdot x}{y}}{a} \]
                            3. Recombined 3 regimes into one program.
                            4. Final simplification81.4%

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

                            Alternative 5: 71.9% accurate, 0.9× 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 -10000000000000:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;t\_1 \leq 10^{+90}:\\ \;\;\;\;\frac{x}{y} \cdot \frac{{z}^{y}}{a}\\ \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 -10000000000000.0)
                                 t_2
                                 (if (<= t_1 1e+90) (* (/ x y) (/ (pow z y) a)) 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 <= -10000000000000.0) {
                            		tmp = t_2;
                            	} else if (t_1 <= 1e+90) {
                            		tmp = (x / y) * (pow(z, y) / a);
                            	} 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 <= (-10000000000000.0d0)) then
                                    tmp = t_2
                                else if (t_1 <= 1d+90) then
                                    tmp = (x / y) * ((z ** y) / a)
                                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 <= -10000000000000.0) {
                            		tmp = t_2;
                            	} else if (t_1 <= 1e+90) {
                            		tmp = (x / y) * (Math.pow(z, y) / a);
                            	} 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 <= -10000000000000.0:
                            		tmp = t_2
                            	elif t_1 <= 1e+90:
                            		tmp = (x / y) * (math.pow(z, y) / a)
                            	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 <= -10000000000000.0)
                            		tmp = t_2;
                            	elseif (t_1 <= 1e+90)
                            		tmp = Float64(Float64(x / y) * Float64((z ^ y) / a));
                            	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 <= -10000000000000.0)
                            		tmp = t_2;
                            	elseif (t_1 <= 1e+90)
                            		tmp = (x / y) * ((z ^ y) / a);
                            	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, -10000000000000.0], t$95$2, If[LessEqual[t$95$1, 1e+90], N[(N[(x / y), $MachinePrecision] * N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision]), $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 -10000000000000:\\
                            \;\;\;\;t\_2\\
                            
                            \mathbf{elif}\;t\_1 \leq 10^{+90}:\\
                            \;\;\;\;\frac{x}{y} \cdot \frac{{z}^{y}}{a}\\
                            
                            \mathbf{else}:\\
                            \;\;\;\;t\_2\\
                            
                            
                            \end{array}
                            \end{array}
                            
                            Derivation
                            1. Split input into 2 regimes
                            2. if (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < -1e13 or 9.99999999999999966e89 < (*.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--.f6471.1

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

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

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

                                if -1e13 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < 9.99999999999999966e89

                                1. Initial program 97.8%

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

                                    \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                5. Applied rewrites61.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 rewrites70.5%

                                    \[\leadsto \frac{x}{y} \cdot \color{blue}{\frac{{z}^{y}}{a}} \]
                                8. Recombined 2 regimes into one program.
                                9. Final simplification77.1%

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

                                Alternative 6: 80.3% accurate, 1.4× speedup?

                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \mathbf{if}\;t - 1 \leq -2000000000000:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;t - 1 \leq -0.999999998:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \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 (<= (- t 1.0) -2000000000000.0)
                                     t_1
                                     (if (<= (- t 1.0) -0.999999998) (/ (/ (* (pow z y) x) y) a) 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 ((t - 1.0) <= -2000000000000.0) {
                                		tmp = t_1;
                                	} else if ((t - 1.0) <= -0.999999998) {
                                		tmp = ((pow(z, y) * x) / y) / a;
                                	} 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 ((t - 1.0d0) <= (-2000000000000.0d0)) then
                                        tmp = t_1
                                    else if ((t - 1.0d0) <= (-0.999999998d0)) then
                                        tmp = (((z ** y) * x) / y) / a
                                    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 ((t - 1.0) <= -2000000000000.0) {
                                		tmp = t_1;
                                	} else if ((t - 1.0) <= -0.999999998) {
                                		tmp = ((Math.pow(z, y) * x) / y) / a;
                                	} 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 (t - 1.0) <= -2000000000000.0:
                                		tmp = t_1
                                	elif (t - 1.0) <= -0.999999998:
                                		tmp = ((math.pow(z, y) * x) / y) / a
                                	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 (Float64(t - 1.0) <= -2000000000000.0)
                                		tmp = t_1;
                                	elseif (Float64(t - 1.0) <= -0.999999998)
                                		tmp = Float64(Float64(Float64((z ^ y) * x) / y) / a);
                                	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 ((t - 1.0) <= -2000000000000.0)
                                		tmp = t_1;
                                	elseif ((t - 1.0) <= -0.999999998)
                                		tmp = (((z ^ y) * x) / y) / a;
                                	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[N[(t - 1.0), $MachinePrecision], -2000000000000.0], t$95$1, If[LessEqual[N[(t - 1.0), $MachinePrecision], -0.999999998], N[(N[(N[(N[Power[z, y], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision] / a), $MachinePrecision], t$95$1]]]
                                
                                \begin{array}{l}
                                
                                \\
                                \begin{array}{l}
                                t_1 := \frac{e^{\log a \cdot t - b} \cdot x}{y}\\
                                \mathbf{if}\;t - 1 \leq -2000000000000:\\
                                \;\;\;\;t\_1\\
                                
                                \mathbf{elif}\;t - 1 \leq -0.999999998:\\
                                \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\
                                
                                \mathbf{else}:\\
                                \;\;\;\;t\_1\\
                                
                                
                                \end{array}
                                \end{array}
                                
                                Derivation
                                1. Split input into 2 regimes
                                2. if (-.f64 t #s(literal 1 binary64)) < -2e12 or -0.999999997999999946 < (-.f64 t #s(literal 1 binary64))

                                  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. lower-*.f64N/A

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

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

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

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

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

                                  if -2e12 < (-.f64 t #s(literal 1 binary64)) < -0.999999997999999946

                                  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--.f6465.4

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

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

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

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

                                          \[\leadsto \frac{\frac{{z}^{y} \cdot x}{y}}{a} \]
                                      3. Recombined 2 regimes into one program.
                                      4. Final simplification85.2%

                                        \[\leadsto \begin{array}{l} \mathbf{if}\;t - 1 \leq -2000000000000:\\ \;\;\;\;\frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \mathbf{elif}\;t - 1 \leq -0.999999998:\\ \;\;\;\;\frac{\frac{{z}^{y} \cdot x}{y}}{a}\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \end{array} \]
                                      5. Add Preprocessing

                                      Alternative 7: 88.6% accurate, 1.4× speedup?

                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{\frac{{z}^{y}}{a} \cdot x}{y}\\ \mathbf{if}\;y \leq -4.5 \cdot 10^{+76}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y \leq 1.36:\\ \;\;\;\;\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 (/ (* (/ (pow z y) a) x) y)))
                                         (if (<= y -4.5e+76)
                                           t_1
                                           (if (<= y 1.36) (/ (* (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 = ((pow(z, y) / a) * x) / y;
                                      	double tmp;
                                      	if (y <= -4.5e+76) {
                                      		tmp = t_1;
                                      	} else if (y <= 1.36) {
                                      		tmp = (exp(((log(a) * (t - 1.0)) - b)) * 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 = (((z ** y) / a) * x) / y
                                          if (y <= (-4.5d+76)) then
                                              tmp = t_1
                                          else if (y <= 1.36d0) then
                                              tmp = (exp(((log(a) * (t - 1.0d0)) - b)) * 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.pow(z, y) / a) * x) / y;
                                      	double tmp;
                                      	if (y <= -4.5e+76) {
                                      		tmp = t_1;
                                      	} else if (y <= 1.36) {
                                      		tmp = (Math.exp(((Math.log(a) * (t - 1.0)) - b)) * x) / y;
                                      	} else {
                                      		tmp = t_1;
                                      	}
                                      	return tmp;
                                      }
                                      
                                      def code(x, y, z, t, a, b):
                                      	t_1 = ((math.pow(z, y) / a) * x) / y
                                      	tmp = 0
                                      	if y <= -4.5e+76:
                                      		tmp = t_1
                                      	elif y <= 1.36:
                                      		tmp = (math.exp(((math.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(Float64((z ^ y) / a) * x) / y)
                                      	tmp = 0.0
                                      	if (y <= -4.5e+76)
                                      		tmp = t_1;
                                      	elseif (y <= 1.36)
                                      		tmp = Float64(Float64(exp(Float64(Float64(log(a) * Float64(t - 1.0)) - b)) * x) / y);
                                      	else
                                      		tmp = t_1;
                                      	end
                                      	return tmp
                                      end
                                      
                                      function tmp_2 = code(x, y, z, t, a, b)
                                      	t_1 = (((z ^ y) / a) * x) / y;
                                      	tmp = 0.0;
                                      	if (y <= -4.5e+76)
                                      		tmp = t_1;
                                      	elseif (y <= 1.36)
                                      		tmp = (exp(((log(a) * (t - 1.0)) - b)) * 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[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision]}, If[LessEqual[y, -4.5e+76], t$95$1, If[LessEqual[y, 1.36], 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{\frac{{z}^{y}}{a} \cdot x}{y}\\
                                      \mathbf{if}\;y \leq -4.5 \cdot 10^{+76}:\\
                                      \;\;\;\;t\_1\\
                                      
                                      \mathbf{elif}\;y \leq 1.36:\\
                                      \;\;\;\;\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 < -4.4999999999999997e76 or 1.3600000000000001 < y

                                        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 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.5

                                            \[\leadsto \left(x \cdot {z}^{y}\right) \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{y} \]
                                        5. Applied rewrites62.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.3%

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

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

                                            if -4.4999999999999997e76 < y < 1.3600000000000001

                                            1. Initial program 97.8%

                                              \[\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-log97.1

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

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

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

                                          Alternative 8: 85.3% 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 -2.8 \cdot 10^{+95}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 3 \cdot 10^{+19}:\\ \;\;\;\;\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 -2.8e+95)
                                               t_1
                                               (if (<= b 3e+19) (/ (* (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 <= -2.8e+95) {
                                          		tmp = t_1;
                                          	} else if (b <= 3e+19) {
                                          		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 <= (-2.8d+95)) then
                                                  tmp = t_1
                                              else if (b <= 3d+19) 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 <= -2.8e+95) {
                                          		tmp = t_1;
                                          	} else if (b <= 3e+19) {
                                          		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 <= -2.8e+95:
                                          		tmp = t_1
                                          	elif b <= 3e+19:
                                          		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 <= -2.8e+95)
                                          		tmp = t_1;
                                          	elseif (b <= 3e+19)
                                          		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 <= -2.8e+95)
                                          		tmp = t_1;
                                          	elseif (b <= 3e+19)
                                          		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, -2.8e+95], t$95$1, If[LessEqual[b, 3e+19], 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 -2.8 \cdot 10^{+95}:\\
                                          \;\;\;\;t\_1\\
                                          
                                          \mathbf{elif}\;b \leq 3 \cdot 10^{+19}:\\
                                          \;\;\;\;\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 < -2.7999999999999998e95 or 3e19 < 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. lower-*.f64N/A

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

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

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

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

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

                                            if -2.7999999999999998e95 < b < 3e19

                                            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 \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--.f6487.7

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

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

                                            \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.8 \cdot 10^{+95}:\\ \;\;\;\;\frac{e^{\log a \cdot t - b} \cdot x}{y}\\ \mathbf{elif}\;b \leq 3 \cdot 10^{+19}:\\ \;\;\;\;\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 9: 83.8% 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 -2.8 \cdot 10^{+95}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 3 \cdot 10^{+19}:\\ \;\;\;\;\left({a}^{\left(t - 1\right)} \cdot x\right) \cdot \frac{{z}^{y}}{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 -2.8e+95)
                                               t_1
                                               (if (<= b 3e+19) (* (* (pow a (- t 1.0)) x) (/ (pow z y) 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 <= -2.8e+95) {
                                          		tmp = t_1;
                                          	} else if (b <= 3e+19) {
                                          		tmp = (pow(a, (t - 1.0)) * x) * (pow(z, y) / 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 <= (-2.8d+95)) then
                                                  tmp = t_1
                                              else if (b <= 3d+19) then
                                                  tmp = ((a ** (t - 1.0d0)) * x) * ((z ** y) / 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 <= -2.8e+95) {
                                          		tmp = t_1;
                                          	} else if (b <= 3e+19) {
                                          		tmp = (Math.pow(a, (t - 1.0)) * x) * (Math.pow(z, y) / 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 <= -2.8e+95:
                                          		tmp = t_1
                                          	elif b <= 3e+19:
                                          		tmp = (math.pow(a, (t - 1.0)) * x) * (math.pow(z, y) / 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 <= -2.8e+95)
                                          		tmp = t_1;
                                          	elseif (b <= 3e+19)
                                          		tmp = Float64(Float64((a ^ Float64(t - 1.0)) * x) * Float64((z ^ y) / 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 <= -2.8e+95)
                                          		tmp = t_1;
                                          	elseif (b <= 3e+19)
                                          		tmp = ((a ^ (t - 1.0)) * x) * ((z ^ y) / 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, -2.8e+95], t$95$1, If[LessEqual[b, 3e+19], N[(N[(N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] * N[(N[Power[z, y], $MachinePrecision] / y), $MachinePrecision]), $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 -2.8 \cdot 10^{+95}:\\
                                          \;\;\;\;t\_1\\
                                          
                                          \mathbf{elif}\;b \leq 3 \cdot 10^{+19}:\\
                                          \;\;\;\;\left({a}^{\left(t - 1\right)} \cdot x\right) \cdot \frac{{z}^{y}}{y}\\
                                          
                                          \mathbf{else}:\\
                                          \;\;\;\;t\_1\\
                                          
                                          
                                          \end{array}
                                          \end{array}
                                          
                                          Derivation
                                          1. Split input into 2 regimes
                                          2. if b < -2.7999999999999998e95 or 3e19 < 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. lower-*.f64N/A

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

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

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

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

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

                                            if -2.7999999999999998e95 < b < 3e19

                                            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--.f6481.0

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

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

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

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

                                            Alternative 10: 74.5% accurate, 2.3× speedup?

                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -1.9 \cdot 10^{+50}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq -9.5 \cdot 10^{-302}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{elif}\;b \leq 6.5 \cdot 10^{+42}:\\ \;\;\;\;\frac{\frac{{z}^{y}}{a} \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.9e+50)
                                                 t_1
                                                 (if (<= b -9.5e-302)
                                                   (/ (* (pow a (- t 1.0)) x) y)
                                                   (if (<= b 6.5e+42) (/ (* (/ (pow z y) a) 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.9e+50) {
                                            		tmp = t_1;
                                            	} else if (b <= -9.5e-302) {
                                            		tmp = (pow(a, (t - 1.0)) * x) / y;
                                            	} else if (b <= 6.5e+42) {
                                            		tmp = ((pow(z, y) / a) * 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.9d+50)) then
                                                    tmp = t_1
                                                else if (b <= (-9.5d-302)) then
                                                    tmp = ((a ** (t - 1.0d0)) * x) / y
                                                else if (b <= 6.5d+42) then
                                                    tmp = (((z ** y) / a) * 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.9e+50) {
                                            		tmp = t_1;
                                            	} else if (b <= -9.5e-302) {
                                            		tmp = (Math.pow(a, (t - 1.0)) * x) / y;
                                            	} else if (b <= 6.5e+42) {
                                            		tmp = ((Math.pow(z, y) / a) * 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.9e+50:
                                            		tmp = t_1
                                            	elif b <= -9.5e-302:
                                            		tmp = (math.pow(a, (t - 1.0)) * x) / y
                                            	elif b <= 6.5e+42:
                                            		tmp = ((math.pow(z, y) / a) * 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.9e+50)
                                            		tmp = t_1;
                                            	elseif (b <= -9.5e-302)
                                            		tmp = Float64(Float64((a ^ Float64(t - 1.0)) * x) / y);
                                            	elseif (b <= 6.5e+42)
                                            		tmp = Float64(Float64(Float64((z ^ y) / a) * 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.9e+50)
                                            		tmp = t_1;
                                            	elseif (b <= -9.5e-302)
                                            		tmp = ((a ^ (t - 1.0)) * x) / y;
                                            	elseif (b <= 6.5e+42)
                                            		tmp = (((z ^ y) / a) * 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.9e+50], t$95$1, If[LessEqual[b, -9.5e-302], N[(N[(N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision] * x), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, 6.5e+42], N[(N[(N[(N[Power[z, y], $MachinePrecision] / a), $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.9 \cdot 10^{+50}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            \mathbf{elif}\;b \leq -9.5 \cdot 10^{-302}:\\
                                            \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\
                                            
                                            \mathbf{elif}\;b \leq 6.5 \cdot 10^{+42}:\\
                                            \;\;\;\;\frac{\frac{{z}^{y}}{a} \cdot x}{y}\\
                                            
                                            \mathbf{else}:\\
                                            \;\;\;\;t\_1\\
                                            
                                            
                                            \end{array}
                                            \end{array}
                                            
                                            Derivation
                                            1. Split input into 3 regimes
                                            2. if b < -1.89999999999999994e50 or 6.50000000000000052e42 < 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.f6480.9

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

                                                \[\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-/.f6480.9

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

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

                                              if -1.89999999999999994e50 < b < -9.49999999999999991e-302

                                              1. Initial program 97.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 y around 0

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

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

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

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

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

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

                                                  \[\leadsto \frac{x \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{e^{b}}}{y} \]
                                                7. lower-exp.f6481.1

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

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

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

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

                                                if -9.49999999999999991e-302 < b < 6.50000000000000052e42

                                                1. Initial program 98.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--.f6476.4

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

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

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

                                                      \[\leadsto \frac{\frac{{z}^{y}}{a} \cdot x}{y} \]
                                                  3. Recombined 3 regimes into one program.
                                                  4. Final simplification80.7%

                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.9 \cdot 10^{+50}:\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \mathbf{elif}\;b \leq -9.5 \cdot 10^{-302}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)} \cdot x}{y}\\ \mathbf{elif}\;b \leq 6.5 \cdot 10^{+42}:\\ \;\;\;\;\frac{\frac{{z}^{y}}{a} \cdot x}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \end{array} \]
                                                  5. Add Preprocessing

                                                  Alternative 11: 74.9% accurate, 2.5× speedup?

                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -1.9 \cdot 10^{+50}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 11500:\\ \;\;\;\;\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.9e+50)
                                                       t_1
                                                       (if (<= b 11500.0) (/ (* (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.9e+50) {
                                                  		tmp = t_1;
                                                  	} else if (b <= 11500.0) {
                                                  		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.9d+50)) then
                                                          tmp = t_1
                                                      else if (b <= 11500.0d0) 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.9e+50) {
                                                  		tmp = t_1;
                                                  	} else if (b <= 11500.0) {
                                                  		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.9e+50:
                                                  		tmp = t_1
                                                  	elif b <= 11500.0:
                                                  		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.9e+50)
                                                  		tmp = t_1;
                                                  	elseif (b <= 11500.0)
                                                  		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.9e+50)
                                                  		tmp = t_1;
                                                  	elseif (b <= 11500.0)
                                                  		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.9e+50], t$95$1, If[LessEqual[b, 11500.0], 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.9 \cdot 10^{+50}:\\
                                                  \;\;\;\;t\_1\\
                                                  
                                                  \mathbf{elif}\;b \leq 11500:\\
                                                  \;\;\;\;\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.89999999999999994e50 or 11500 < 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.f6479.0

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

                                                      \[\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-/.f6479.0

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

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

                                                    if -1.89999999999999994e50 < b < 11500

                                                    1. Initial program 97.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 \color{blue}{e^{\log a \cdot \left(t - 1\right) - b}}}{y} \]
                                                    4. Step-by-step derivation
                                                      1. exp-diffN/A

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

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

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

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

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

                                                        \[\leadsto \frac{x \cdot \frac{{a}^{\color{blue}{\left(t - 1\right)}}}{e^{b}}}{y} \]
                                                      7. lower-exp.f6474.2

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

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

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

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

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

                                                    Alternative 12: 71.8% accurate, 2.5× speedup?

                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -1.22 \cdot 10^{+50}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 7500:\\ \;\;\;\;\frac{x}{y} \cdot {a}^{\left(t - 1\right)}\\ \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.22e+50)
                                                         t_1
                                                         (if (<= b 7500.0) (* (/ x y) (pow a (- t 1.0))) 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.22e+50) {
                                                    		tmp = t_1;
                                                    	} else if (b <= 7500.0) {
                                                    		tmp = (x / y) * pow(a, (t - 1.0));
                                                    	} 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.22d+50)) then
                                                            tmp = t_1
                                                        else if (b <= 7500.0d0) then
                                                            tmp = (x / y) * (a ** (t - 1.0d0))
                                                        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.22e+50) {
                                                    		tmp = t_1;
                                                    	} else if (b <= 7500.0) {
                                                    		tmp = (x / y) * Math.pow(a, (t - 1.0));
                                                    	} 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.22e+50:
                                                    		tmp = t_1
                                                    	elif b <= 7500.0:
                                                    		tmp = (x / y) * math.pow(a, (t - 1.0))
                                                    	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.22e+50)
                                                    		tmp = t_1;
                                                    	elseif (b <= 7500.0)
                                                    		tmp = Float64(Float64(x / y) * (a ^ Float64(t - 1.0)));
                                                    	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.22e+50)
                                                    		tmp = t_1;
                                                    	elseif (b <= 7500.0)
                                                    		tmp = (x / y) * (a ^ (t - 1.0));
                                                    	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.22e+50], t$95$1, If[LessEqual[b, 7500.0], N[(N[(x / y), $MachinePrecision] * N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], t$95$1]]]
                                                    
                                                    \begin{array}{l}
                                                    
                                                    \\
                                                    \begin{array}{l}
                                                    t_1 := \frac{e^{-b}}{y} \cdot x\\
                                                    \mathbf{if}\;b \leq -1.22 \cdot 10^{+50}:\\
                                                    \;\;\;\;t\_1\\
                                                    
                                                    \mathbf{elif}\;b \leq 7500:\\
                                                    \;\;\;\;\frac{x}{y} \cdot {a}^{\left(t - 1\right)}\\
                                                    
                                                    \mathbf{else}:\\
                                                    \;\;\;\;t\_1\\
                                                    
                                                    
                                                    \end{array}
                                                    \end{array}
                                                    
                                                    Derivation
                                                    1. Split input into 2 regimes
                                                    2. if b < -1.21999999999999993e50 or 7500 < 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.f6479.0

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

                                                        \[\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-/.f6479.0

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

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

                                                      if -1.21999999999999993e50 < b < 7500

                                                      1. Initial program 97.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--.f6481.5

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

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

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

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

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

                                                        Alternative 13: 73.4% accurate, 2.5× speedup?

                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -5 \cdot 10^{+96}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 1.15 \cdot 10^{+43}:\\ \;\;\;\;\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 -5e+96)
                                                             t_1
                                                             (if (<= b 1.15e+43) (* (/ (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 <= -5e+96) {
                                                        		tmp = t_1;
                                                        	} else if (b <= 1.15e+43) {
                                                        		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 <= (-5d+96)) then
                                                                tmp = t_1
                                                            else if (b <= 1.15d+43) 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 <= -5e+96) {
                                                        		tmp = t_1;
                                                        	} else if (b <= 1.15e+43) {
                                                        		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 <= -5e+96:
                                                        		tmp = t_1
                                                        	elif b <= 1.15e+43:
                                                        		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 <= -5e+96)
                                                        		tmp = t_1;
                                                        	elseif (b <= 1.15e+43)
                                                        		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 <= -5e+96)
                                                        		tmp = t_1;
                                                        	elseif (b <= 1.15e+43)
                                                        		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, -5e+96], t$95$1, If[LessEqual[b, 1.15e+43], 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 -5 \cdot 10^{+96}:\\
                                                        \;\;\;\;t\_1\\
                                                        
                                                        \mathbf{elif}\;b \leq 1.15 \cdot 10^{+43}:\\
                                                        \;\;\;\;\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 < -5.0000000000000004e96 or 1.1500000000000001e43 < 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.f6483.8

                                                              \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                          5. Applied rewrites83.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-/.f6483.8

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

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

                                                          if -5.0000000000000004e96 < b < 1.1500000000000001e43

                                                          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--.f6480.4

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

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

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

                                                          Alternative 14: 57.9% accurate, 2.6× speedup?

                                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -2.5 \cdot 10^{-61}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 7500:\\ \;\;\;\;\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 -2.5e-61) t_1 (if (<= b 7500.0) (/ (/ 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 <= -2.5e-61) {
                                                          		tmp = t_1;
                                                          	} else if (b <= 7500.0) {
                                                          		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 <= (-2.5d-61)) then
                                                                  tmp = t_1
                                                              else if (b <= 7500.0d0) 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 <= -2.5e-61) {
                                                          		tmp = t_1;
                                                          	} else if (b <= 7500.0) {
                                                          		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 <= -2.5e-61:
                                                          		tmp = t_1
                                                          	elif b <= 7500.0:
                                                          		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 <= -2.5e-61)
                                                          		tmp = t_1;
                                                          	elseif (b <= 7500.0)
                                                          		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 <= -2.5e-61)
                                                          		tmp = t_1;
                                                          	elseif (b <= 7500.0)
                                                          		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, -2.5e-61], t$95$1, If[LessEqual[b, 7500.0], 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 -2.5 \cdot 10^{-61}:\\
                                                          \;\;\;\;t\_1\\
                                                          
                                                          \mathbf{elif}\;b \leq 7500:\\
                                                          \;\;\;\;\frac{\frac{x}{a}}{y}\\
                                                          
                                                          \mathbf{else}:\\
                                                          \;\;\;\;t\_1\\
                                                          
                                                          
                                                          \end{array}
                                                          \end{array}
                                                          
                                                          Derivation
                                                          1. Split input into 2 regimes
                                                          2. if b < -2.4999999999999999e-61 or 7500 < b

                                                            1. Initial program 99.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 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.f6471.0

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

                                                              \[\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-/.f6471.0

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

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

                                                            if -2.4999999999999999e-61 < b < 7500

                                                            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 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--.f6481.5

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

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

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

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

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

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

                                                                Alternative 15: 53.6% accurate, 2.6× speedup?

                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x}{y} \cdot e^{-b}\\ \mathbf{if}\;b \leq -2.5 \cdot 10^{-61}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 7500:\\ \;\;\;\;\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 (* (/ x y) (exp (- b)))))
                                                                   (if (<= b -2.5e-61) t_1 (if (<= b 7500.0) (/ (/ x a) y) t_1))))
                                                                double code(double x, double y, double z, double t, double a, double b) {
                                                                	double t_1 = (x / y) * exp(-b);
                                                                	double tmp;
                                                                	if (b <= -2.5e-61) {
                                                                		tmp = t_1;
                                                                	} else if (b <= 7500.0) {
                                                                		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 = (x / y) * exp(-b)
                                                                    if (b <= (-2.5d-61)) then
                                                                        tmp = t_1
                                                                    else if (b <= 7500.0d0) 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 = (x / y) * Math.exp(-b);
                                                                	double tmp;
                                                                	if (b <= -2.5e-61) {
                                                                		tmp = t_1;
                                                                	} else if (b <= 7500.0) {
                                                                		tmp = (x / a) / y;
                                                                	} else {
                                                                		tmp = t_1;
                                                                	}
                                                                	return tmp;
                                                                }
                                                                
                                                                def code(x, y, z, t, a, b):
                                                                	t_1 = (x / y) * math.exp(-b)
                                                                	tmp = 0
                                                                	if b <= -2.5e-61:
                                                                		tmp = t_1
                                                                	elif b <= 7500.0:
                                                                		tmp = (x / a) / y
                                                                	else:
                                                                		tmp = t_1
                                                                	return tmp
                                                                
                                                                function code(x, y, z, t, a, b)
                                                                	t_1 = Float64(Float64(x / y) * exp(Float64(-b)))
                                                                	tmp = 0.0
                                                                	if (b <= -2.5e-61)
                                                                		tmp = t_1;
                                                                	elseif (b <= 7500.0)
                                                                		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 = (x / y) * exp(-b);
                                                                	tmp = 0.0;
                                                                	if (b <= -2.5e-61)
                                                                		tmp = t_1;
                                                                	elseif (b <= 7500.0)
                                                                		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[(x / y), $MachinePrecision] * N[Exp[(-b)], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.5e-61], t$95$1, If[LessEqual[b, 7500.0], N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision], t$95$1]]]
                                                                
                                                                \begin{array}{l}
                                                                
                                                                \\
                                                                \begin{array}{l}
                                                                t_1 := \frac{x}{y} \cdot e^{-b}\\
                                                                \mathbf{if}\;b \leq -2.5 \cdot 10^{-61}:\\
                                                                \;\;\;\;t\_1\\
                                                                
                                                                \mathbf{elif}\;b \leq 7500:\\
                                                                \;\;\;\;\frac{\frac{x}{a}}{y}\\
                                                                
                                                                \mathbf{else}:\\
                                                                \;\;\;\;t\_1\\
                                                                
                                                                
                                                                \end{array}
                                                                \end{array}
                                                                
                                                                Derivation
                                                                1. Split input into 2 regimes
                                                                2. if b < -2.4999999999999999e-61 or 7500 < b

                                                                  1. Initial program 99.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 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.f6471.0

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

                                                                    \[\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. *-commutativeN/A

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

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

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

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

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

                                                                  if -2.4999999999999999e-61 < b < 7500

                                                                  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 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--.f6481.5

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

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

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

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

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

                                                                          \[\leadsto \frac{\frac{x}{a}}{y} \]
                                                                      3. Recombined 2 regimes into one program.
                                                                      4. Final simplification50.9%

                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -2.5 \cdot 10^{-61}:\\ \;\;\;\;\frac{x}{y} \cdot e^{-b}\\ \mathbf{elif}\;b \leq 7500:\\ \;\;\;\;\frac{\frac{x}{a}}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{x}{y} \cdot e^{-b}\\ \end{array} \]
                                                                      5. Add Preprocessing

                                                                      Alternative 16: 31.0% accurate, 11.6× speedup?

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

                                                                        1. Initial program 98.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--.f6448.7

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

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

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

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

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

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

                                                                              if -4.9999999999999999e-48 < b

                                                                              1. Initial program 99.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--.f6471.2

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

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

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

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

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

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

                                                                                  Alternative 17: 30.9% 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.8%

                                                                                    \[\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.5

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

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

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

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

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

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

                                                                                        Alternative 18: 30.6% 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.8%

                                                                                          \[\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.5

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

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

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

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

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

                                                                                            Developer Target 1: 72.0% 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 2024270 
                                                                                            (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))