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

Percentage Accurate: 98.4% → 98.4%
Time: 10.4s
Alternatives: 16
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 16 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.4% 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.4% 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}
Derivation
  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. Add Preprocessing

Alternative 2: 43.1% accurate, 0.4× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y}\\ \mathbf{if}\;t\_1 \leq -2 \cdot 10^{-182} \lor \neg \left(t\_1 \leq 0\right):\\ \;\;\;\;\frac{x \cdot \mathsf{fma}\left(\frac{b}{a} \cdot 0.5 - {a}^{-1}, b, {a}^{-1}\right)}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot \frac{-b}{a}}{y}\\ \end{array} \end{array} \]
(FPCore (x y z t a b)
 :precision binary64
 (let* ((t_1 (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)))
   (if (or (<= t_1 -2e-182) (not (<= t_1 0.0)))
     (/ (* x (fma (- (* (/ b a) 0.5) (pow a -1.0)) b (pow a -1.0))) y)
     (/ (* x (/ (- b) a)) y))))
double code(double x, double y, double z, double t, double a, double b) {
	double t_1 = (x * exp((((y * log(z)) + ((t - 1.0) * log(a))) - b))) / y;
	double tmp;
	if ((t_1 <= -2e-182) || !(t_1 <= 0.0)) {
		tmp = (x * fma((((b / a) * 0.5) - pow(a, -1.0)), b, pow(a, -1.0))) / y;
	} else {
		tmp = (x * (-b / a)) / y;
	}
	return tmp;
}
function code(x, y, z, t, a, b)
	t_1 = Float64(Float64(x * exp(Float64(Float64(Float64(y * log(z)) + Float64(Float64(t - 1.0) * log(a))) - b))) / y)
	tmp = 0.0
	if ((t_1 <= -2e-182) || !(t_1 <= 0.0))
		tmp = Float64(Float64(x * fma(Float64(Float64(Float64(b / a) * 0.5) - (a ^ -1.0)), b, (a ^ -1.0))) / y);
	else
		tmp = Float64(Float64(x * Float64(Float64(-b) / a)) / y);
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = 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]}, If[Or[LessEqual[t$95$1, -2e-182], N[Not[LessEqual[t$95$1, 0.0]], $MachinePrecision]], N[(N[(x * N[(N[(N[(N[(b / a), $MachinePrecision] * 0.5), $MachinePrecision] - N[Power[a, -1.0], $MachinePrecision]), $MachinePrecision] * b + N[Power[a, -1.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x * N[((-b) / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y}\\
\mathbf{if}\;t\_1 \leq -2 \cdot 10^{-182} \lor \neg \left(t\_1 \leq 0\right):\\
\;\;\;\;\frac{x \cdot \mathsf{fma}\left(\frac{b}{a} \cdot 0.5 - {a}^{-1}, b, {a}^{-1}\right)}{y}\\

\mathbf{else}:\\
\;\;\;\;\frac{x \cdot \frac{-b}{a}}{y}\\


\end{array}
\end{array}
Derivation
  1. Split input into 2 regimes
  2. if (/.f64 (*.f64 x (exp.f64 (-.f64 (+.f64 (*.f64 y (log.f64 z)) (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a))) b))) y) < -2.0000000000000001e-182 or -0.0 < (/.f64 (*.f64 x (exp.f64 (-.f64 (+.f64 (*.f64 y (log.f64 z)) (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a))) b))) y)

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

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

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

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

        \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
      4. fp-cancel-sign-sub-invN/A

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

        \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z - \color{blue}{1} \cdot \log a}}{e^{b}}}{y} \]
      6. *-lft-identityN/A

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

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

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

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

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

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

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

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

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

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

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

        \[\leadsto \frac{x \cdot \left(-1 \cdot \frac{b}{a} + \frac{1}{\color{blue}{a}}\right)}{y} \]
      3. Step-by-step derivation
        1. Applied rewrites45.2%

          \[\leadsto \frac{x \cdot \frac{\mathsf{fma}\left(-1, b, 1\right)}{a}}{y} \]
        2. Taylor expanded in b around 0

          \[\leadsto \frac{x \cdot \left(b \cdot \left(\frac{1}{2} \cdot \frac{b}{a} - \frac{1}{a}\right) + \frac{1}{\color{blue}{a}}\right)}{y} \]
        3. Step-by-step derivation
          1. Applied rewrites58.3%

            \[\leadsto \frac{x \cdot \mathsf{fma}\left(\frac{b}{a} \cdot 0.5 - \frac{1}{a}, b, \frac{1}{a}\right)}{y} \]

          if -2.0000000000000001e-182 < (/.f64 (*.f64 x (exp.f64 (-.f64 (+.f64 (*.f64 y (log.f64 z)) (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a))) b))) y) < -0.0

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

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

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

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

              \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
            4. fp-cancel-sign-sub-invN/A

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

              \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z - \color{blue}{1} \cdot \log a}}{e^{b}}}{y} \]
            6. *-lft-identityN/A

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

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

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

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

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

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

              \[\leadsto \frac{x \cdot \frac{\frac{\color{blue}{{z}^{y}}}{a}}{e^{b}}}{y} \]
            13. lower-exp.f6464.3

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

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

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

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

              \[\leadsto \frac{x \cdot \left(-1 \cdot \frac{b}{a} + \frac{1}{\color{blue}{a}}\right)}{y} \]
            3. Step-by-step derivation
              1. Applied rewrites26.7%

                \[\leadsto \frac{x \cdot \frac{\mathsf{fma}\left(-1, b, 1\right)}{a}}{y} \]
              2. Taylor expanded in b around inf

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

                  \[\leadsto \frac{x \cdot \frac{-b}{a}}{y} \]
              4. Recombined 2 regimes into one program.
              5. Final simplification48.4%

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

              Alternative 3: 40.3% accurate, 0.5× speedup?

              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y}\\ \mathbf{if}\;t\_1 \leq -2 \cdot 10^{-182} \lor \neg \left(t\_1 \leq 0\right):\\ \;\;\;\;\frac{x \cdot \frac{\frac{b \cdot b - 1}{b + 1}}{-a}}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot \frac{-b}{a}}{y}\\ \end{array} \end{array} \]
              (FPCore (x y z t a b)
               :precision binary64
               (let* ((t_1 (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)))
                 (if (or (<= t_1 -2e-182) (not (<= t_1 0.0)))
                   (/ (* x (/ (/ (- (* b b) 1.0) (+ b 1.0)) (- a))) y)
                   (/ (* x (/ (- b) a)) y))))
              double code(double x, double y, double z, double t, double a, double b) {
              	double t_1 = (x * exp((((y * log(z)) + ((t - 1.0) * log(a))) - b))) / y;
              	double tmp;
              	if ((t_1 <= -2e-182) || !(t_1 <= 0.0)) {
              		tmp = (x * ((((b * b) - 1.0) / (b + 1.0)) / -a)) / y;
              	} else {
              		tmp = (x * (-b / 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) :: t_1
                  real(8) :: tmp
                  t_1 = (x * exp((((y * log(z)) + ((t - 1.0d0) * log(a))) - b))) / y
                  if ((t_1 <= (-2d-182)) .or. (.not. (t_1 <= 0.0d0))) then
                      tmp = (x * ((((b * b) - 1.0d0) / (b + 1.0d0)) / -a)) / y
                  else
                      tmp = (x * (-b / 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 t_1 = (x * Math.exp((((y * Math.log(z)) + ((t - 1.0) * Math.log(a))) - b))) / y;
              	double tmp;
              	if ((t_1 <= -2e-182) || !(t_1 <= 0.0)) {
              		tmp = (x * ((((b * b) - 1.0) / (b + 1.0)) / -a)) / y;
              	} else {
              		tmp = (x * (-b / a)) / y;
              	}
              	return tmp;
              }
              
              def code(x, y, z, t, a, b):
              	t_1 = (x * math.exp((((y * math.log(z)) + ((t - 1.0) * math.log(a))) - b))) / y
              	tmp = 0
              	if (t_1 <= -2e-182) or not (t_1 <= 0.0):
              		tmp = (x * ((((b * b) - 1.0) / (b + 1.0)) / -a)) / y
              	else:
              		tmp = (x * (-b / a)) / y
              	return tmp
              
              function code(x, y, z, t, a, b)
              	t_1 = Float64(Float64(x * exp(Float64(Float64(Float64(y * log(z)) + Float64(Float64(t - 1.0) * log(a))) - b))) / y)
              	tmp = 0.0
              	if ((t_1 <= -2e-182) || !(t_1 <= 0.0))
              		tmp = Float64(Float64(x * Float64(Float64(Float64(Float64(b * b) - 1.0) / Float64(b + 1.0)) / Float64(-a))) / y);
              	else
              		tmp = Float64(Float64(x * Float64(Float64(-b) / a)) / y);
              	end
              	return tmp
              end
              
              function tmp_2 = code(x, y, z, t, a, b)
              	t_1 = (x * exp((((y * log(z)) + ((t - 1.0) * log(a))) - b))) / y;
              	tmp = 0.0;
              	if ((t_1 <= -2e-182) || ~((t_1 <= 0.0)))
              		tmp = (x * ((((b * b) - 1.0) / (b + 1.0)) / -a)) / y;
              	else
              		tmp = (x * (-b / a)) / y;
              	end
              	tmp_2 = tmp;
              end
              
              code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = 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]}, If[Or[LessEqual[t$95$1, -2e-182], N[Not[LessEqual[t$95$1, 0.0]], $MachinePrecision]], N[(N[(x * N[(N[(N[(N[(b * b), $MachinePrecision] - 1.0), $MachinePrecision] / N[(b + 1.0), $MachinePrecision]), $MachinePrecision] / (-a)), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x * N[((-b) / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]]
              
              \begin{array}{l}
              
              \\
              \begin{array}{l}
              t_1 := \frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y}\\
              \mathbf{if}\;t\_1 \leq -2 \cdot 10^{-182} \lor \neg \left(t\_1 \leq 0\right):\\
              \;\;\;\;\frac{x \cdot \frac{\frac{b \cdot b - 1}{b + 1}}{-a}}{y}\\
              
              \mathbf{else}:\\
              \;\;\;\;\frac{x \cdot \frac{-b}{a}}{y}\\
              
              
              \end{array}
              \end{array}
              
              Derivation
              1. Split input into 2 regimes
              2. if (/.f64 (*.f64 x (exp.f64 (-.f64 (+.f64 (*.f64 y (log.f64 z)) (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a))) b))) y) < -2.0000000000000001e-182 or -0.0 < (/.f64 (*.f64 x (exp.f64 (-.f64 (+.f64 (*.f64 y (log.f64 z)) (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a))) b))) y)

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

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

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

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

                    \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
                  4. fp-cancel-sign-sub-invN/A

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

                    \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z - \color{blue}{1} \cdot \log a}}{e^{b}}}{y} \]
                  6. *-lft-identityN/A

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

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

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

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

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

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

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

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

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

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

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

                    \[\leadsto \frac{x \cdot \left(-1 \cdot \frac{b}{a} + \frac{1}{\color{blue}{a}}\right)}{y} \]
                  3. Step-by-step derivation
                    1. Applied rewrites45.2%

                      \[\leadsto \frac{x \cdot \frac{\mathsf{fma}\left(-1, b, 1\right)}{a}}{y} \]
                    2. Step-by-step derivation
                      1. Applied rewrites52.1%

                        \[\leadsto \frac{x \cdot \frac{\frac{b \cdot b - 1}{\left(-b\right) - 1}}{a}}{y} \]

                      if -2.0000000000000001e-182 < (/.f64 (*.f64 x (exp.f64 (-.f64 (+.f64 (*.f64 y (log.f64 z)) (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a))) b))) y) < -0.0

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

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

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

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

                          \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
                        4. fp-cancel-sign-sub-invN/A

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

                          \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z - \color{blue}{1} \cdot \log a}}{e^{b}}}{y} \]
                        6. *-lft-identityN/A

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

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

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

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

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

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

                          \[\leadsto \frac{x \cdot \frac{\frac{\color{blue}{{z}^{y}}}{a}}{e^{b}}}{y} \]
                        13. lower-exp.f6464.3

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

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

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

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

                          \[\leadsto \frac{x \cdot \left(-1 \cdot \frac{b}{a} + \frac{1}{\color{blue}{a}}\right)}{y} \]
                        3. Step-by-step derivation
                          1. Applied rewrites26.7%

                            \[\leadsto \frac{x \cdot \frac{\mathsf{fma}\left(-1, b, 1\right)}{a}}{y} \]
                          2. Taylor expanded in b around inf

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

                              \[\leadsto \frac{x \cdot \frac{-b}{a}}{y} \]
                          4. Recombined 2 regimes into one program.
                          5. Final simplification45.0%

                            \[\leadsto \begin{array}{l} \mathbf{if}\;\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y} \leq -2 \cdot 10^{-182} \lor \neg \left(\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y} \leq 0\right):\\ \;\;\;\;\frac{x \cdot \frac{\frac{b \cdot b - 1}{b + 1}}{-a}}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot \frac{-b}{a}}{y}\\ \end{array} \]
                          6. Add Preprocessing

                          Alternative 4: 35.4% accurate, 1.0× speedup?

                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(t - 1\right) \cdot \log a\\ \mathbf{if}\;t\_1 \leq -2 \cdot 10^{+17}:\\ \;\;\;\;\frac{x \cdot \frac{-b}{a}}{y}\\ \mathbf{elif}\;t\_1 \leq -248:\\ \;\;\;\;\frac{{a}^{-1}}{y} \cdot x\\ \mathbf{else}:\\ \;\;\;\;\frac{\mathsf{fma}\left(-1, b, 1\right)}{a} \cdot \frac{x}{y}\\ \end{array} \end{array} \]
                          (FPCore (x y z t a b)
                           :precision binary64
                           (let* ((t_1 (* (- t 1.0) (log a))))
                             (if (<= t_1 -2e+17)
                               (/ (* x (/ (- b) a)) y)
                               (if (<= t_1 -248.0)
                                 (* (/ (pow a -1.0) y) x)
                                 (* (/ (fma -1.0 b 1.0) a) (/ x y))))))
                          double code(double x, double y, double z, double t, double a, double b) {
                          	double t_1 = (t - 1.0) * log(a);
                          	double tmp;
                          	if (t_1 <= -2e+17) {
                          		tmp = (x * (-b / a)) / y;
                          	} else if (t_1 <= -248.0) {
                          		tmp = (pow(a, -1.0) / y) * x;
                          	} else {
                          		tmp = (fma(-1.0, b, 1.0) / a) * (x / y);
                          	}
                          	return tmp;
                          }
                          
                          function code(x, y, z, t, a, b)
                          	t_1 = Float64(Float64(t - 1.0) * log(a))
                          	tmp = 0.0
                          	if (t_1 <= -2e+17)
                          		tmp = Float64(Float64(x * Float64(Float64(-b) / a)) / y);
                          	elseif (t_1 <= -248.0)
                          		tmp = Float64(Float64((a ^ -1.0) / y) * x);
                          	else
                          		tmp = Float64(Float64(fma(-1.0, b, 1.0) / a) * Float64(x / y));
                          	end
                          	return tmp
                          end
                          
                          code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(t - 1.0), $MachinePrecision] * N[Log[a], $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, -2e+17], N[(N[(x * N[((-b) / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[t$95$1, -248.0], N[(N[(N[Power[a, -1.0], $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision], N[(N[(N[(-1.0 * b + 1.0), $MachinePrecision] / a), $MachinePrecision] * N[(x / y), $MachinePrecision]), $MachinePrecision]]]]
                          
                          \begin{array}{l}
                          
                          \\
                          \begin{array}{l}
                          t_1 := \left(t - 1\right) \cdot \log a\\
                          \mathbf{if}\;t\_1 \leq -2 \cdot 10^{+17}:\\
                          \;\;\;\;\frac{x \cdot \frac{-b}{a}}{y}\\
                          
                          \mathbf{elif}\;t\_1 \leq -248:\\
                          \;\;\;\;\frac{{a}^{-1}}{y} \cdot x\\
                          
                          \mathbf{else}:\\
                          \;\;\;\;\frac{\mathsf{fma}\left(-1, b, 1\right)}{a} \cdot \frac{x}{y}\\
                          
                          
                          \end{array}
                          \end{array}
                          
                          Derivation
                          1. Split input into 3 regimes
                          2. if (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < -2e17

                            1. Initial program 100.0%

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

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

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

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

                                \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
                              4. fp-cancel-sign-sub-invN/A

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

                                \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z - \color{blue}{1} \cdot \log a}}{e^{b}}}{y} \]
                              6. *-lft-identityN/A

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

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

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

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

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

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

                                \[\leadsto \frac{x \cdot \frac{\frac{\color{blue}{{z}^{y}}}{a}}{e^{b}}}{y} \]
                              13. lower-exp.f6455.9

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

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

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

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

                                \[\leadsto \frac{x \cdot \left(-1 \cdot \frac{b}{a} + \frac{1}{\color{blue}{a}}\right)}{y} \]
                              3. Step-by-step derivation
                                1. Applied rewrites23.7%

                                  \[\leadsto \frac{x \cdot \frac{\mathsf{fma}\left(-1, b, 1\right)}{a}}{y} \]
                                2. Taylor expanded in b around inf

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

                                    \[\leadsto \frac{x \cdot \frac{-b}{a}}{y} \]

                                  if -2e17 < (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < -248

                                  1. Initial program 96.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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                  4. Step-by-step derivation
                                    1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                      1. Initial program 99.4%

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

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

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

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

                                          \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
                                        4. fp-cancel-sign-sub-invN/A

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

                                          \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z - \color{blue}{1} \cdot \log a}}{e^{b}}}{y} \]
                                        6. *-lft-identityN/A

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

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

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

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

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

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

                                          \[\leadsto \frac{x \cdot \frac{\frac{\color{blue}{{z}^{y}}}{a}}{e^{b}}}{y} \]
                                        13. lower-exp.f6479.1

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

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

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

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

                                          \[\leadsto \frac{x \cdot \left(-1 \cdot \frac{b}{a} + \frac{1}{\color{blue}{a}}\right)}{y} \]
                                        3. Step-by-step derivation
                                          1. Applied rewrites43.5%

                                            \[\leadsto \frac{x \cdot \frac{\mathsf{fma}\left(-1, b, 1\right)}{a}}{y} \]
                                          2. Step-by-step derivation
                                            1. lift-/.f64N/A

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

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

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

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

                                              \[\leadsto \color{blue}{\frac{\mathsf{fma}\left(-1, b, 1\right)}{a} \cdot \frac{x}{y}} \]
                                            6. lower-/.f6446.4

                                              \[\leadsto \frac{\mathsf{fma}\left(-1, b, 1\right)}{a} \cdot \color{blue}{\frac{x}{y}} \]
                                          3. Applied rewrites46.4%

                                            \[\leadsto \color{blue}{\frac{\mathsf{fma}\left(-1, b, 1\right)}{a} \cdot \frac{x}{y}} \]
                                        4. Recombined 3 regimes into one program.
                                        5. Final simplification44.5%

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

                                        Alternative 5: 92.6% accurate, 1.0× speedup?

                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.3 \cdot 10^{-14} \lor \neg \left(y \leq 1.75 \cdot 10^{-6}\right):\\ \;\;\;\;\frac{x \cdot e^{\mathsf{fma}\left(\log z, y, -\log a\right) - b}}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot e^{\left(-1 + t\right) \cdot \log a - b}}{y}\\ \end{array} \end{array} \]
                                        (FPCore (x y z t a b)
                                         :precision binary64
                                         (if (or (<= y -1.3e-14) (not (<= y 1.75e-6)))
                                           (/ (* x (exp (- (fma (log z) y (- (log a))) b))) y)
                                           (/ (* x (exp (- (* (+ -1.0 t) (log a)) b))) y)))
                                        double code(double x, double y, double z, double t, double a, double b) {
                                        	double tmp;
                                        	if ((y <= -1.3e-14) || !(y <= 1.75e-6)) {
                                        		tmp = (x * exp((fma(log(z), y, -log(a)) - b))) / y;
                                        	} else {
                                        		tmp = (x * exp((((-1.0 + t) * log(a)) - b))) / y;
                                        	}
                                        	return tmp;
                                        }
                                        
                                        function code(x, y, z, t, a, b)
                                        	tmp = 0.0
                                        	if ((y <= -1.3e-14) || !(y <= 1.75e-6))
                                        		tmp = Float64(Float64(x * exp(Float64(fma(log(z), y, Float64(-log(a))) - b))) / y);
                                        	else
                                        		tmp = Float64(Float64(x * exp(Float64(Float64(Float64(-1.0 + t) * log(a)) - b))) / y);
                                        	end
                                        	return tmp
                                        end
                                        
                                        code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -1.3e-14], N[Not[LessEqual[y, 1.75e-6]], $MachinePrecision]], N[(N[(x * N[Exp[N[(N[(N[Log[z], $MachinePrecision] * y + (-N[Log[a], $MachinePrecision])), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x * N[Exp[N[(N[(N[(-1.0 + t), $MachinePrecision] * N[Log[a], $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
                                        
                                        \begin{array}{l}
                                        
                                        \\
                                        \begin{array}{l}
                                        \mathbf{if}\;y \leq -1.3 \cdot 10^{-14} \lor \neg \left(y \leq 1.75 \cdot 10^{-6}\right):\\
                                        \;\;\;\;\frac{x \cdot e^{\mathsf{fma}\left(\log z, y, -\log a\right) - b}}{y}\\
                                        
                                        \mathbf{else}:\\
                                        \;\;\;\;\frac{x \cdot e^{\left(-1 + t\right) \cdot \log a - b}}{y}\\
                                        
                                        
                                        \end{array}
                                        \end{array}
                                        
                                        Derivation
                                        1. Split input into 2 regimes
                                        2. if y < -1.29999999999999998e-14 or 1.74999999999999997e-6 < 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 t around 0

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

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

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

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

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

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

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

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

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

                                          if -1.29999999999999998e-14 < y < 1.74999999999999997e-6

                                          1. Initial program 98.0%

                                            \[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y} \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in 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. distribute-rgt-out--N/A

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

                                              \[\leadsto \frac{x \cdot e^{\left(t \cdot \log a - \color{blue}{\left(\mathsf{neg}\left(-1\right)\right)} \cdot \log a\right) - b}}{y} \]
                                            3. fp-cancel-sign-sub-invN/A

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

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

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

                                              \[\leadsto \frac{x \cdot e^{\color{blue}{\left(-1 + t\right) \cdot \log a} - b}}{y} \]
                                            7. metadata-evalN/A

                                              \[\leadsto \frac{x \cdot e^{\left(\color{blue}{\left(\mathsf{neg}\left(1\right)\right)} + t\right) \cdot \log a - b}}{y} \]
                                            8. remove-double-negN/A

                                              \[\leadsto \frac{x \cdot e^{\left(\left(\mathsf{neg}\left(1\right)\right) + \color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(t\right)\right)\right)\right)}\right) \cdot \log a - b}}{y} \]
                                            9. distribute-neg-inN/A

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

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

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

                                              \[\leadsto \frac{x \cdot e^{\left(\mathsf{neg}\left(\left(1 + \color{blue}{\left(\mathsf{neg}\left(t\right)\right)}\right)\right)\right) \cdot \log a - b}}{y} \]
                                            13. distribute-neg-inN/A

                                              \[\leadsto \frac{x \cdot e^{\color{blue}{\left(\left(\mathsf{neg}\left(1\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(t\right)\right)\right)\right)\right)} \cdot \log a - b}}{y} \]
                                            14. metadata-evalN/A

                                              \[\leadsto \frac{x \cdot e^{\left(\color{blue}{-1} + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(t\right)\right)\right)\right)\right) \cdot \log a - b}}{y} \]
                                            15. remove-double-negN/A

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

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

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

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

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

                                        Alternative 6: 83.3% accurate, 1.4× speedup?

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

                                          1. Initial program 100.0%

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

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

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

                                              \[\leadsto \frac{x \cdot e^{\color{blue}{\log a \cdot t} - b}}{y} \]
                                            3. lower-log.f6490.8

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

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

                                          if -5.7999999999999996e-26 < b < -1.40000000000000014e-250

                                          1. Initial program 96.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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                          4. Step-by-step derivation
                                            1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                            if -1.40000000000000014e-250 < b < 2.55000000000000011e57

                                            1. Initial program 98.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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                            4. Step-by-step derivation
                                              1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

                                          Alternative 7: 80.0% accurate, 1.4× speedup?

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

                                            1. Initial program 100.0%

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

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

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

                                                \[\leadsto \frac{x \cdot e^{\color{blue}{\log a \cdot t} - b}}{y} \]
                                              3. lower-log.f6487.6

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

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

                                            if -5.7999999999999996e-26 < b < 1.9000000000000001e-232

                                            1. Initial program 97.6%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                              if 1.9000000000000001e-232 < b < 2.1000000000000001e-16

                                              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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                              4. Step-by-step derivation
                                                1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                  \[\leadsto \frac{\frac{{a}^{t}}{a}}{y} \cdot x \]
                                                3. Step-by-step derivation
                                                  1. Applied rewrites86.2%

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

                                                Alternative 8: 88.4% accurate, 1.4× speedup?

                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -1.45 \cdot 10^{+134} \lor \neg \left(y \leq 3.6 \cdot 10^{+155}\right):\\ \;\;\;\;\frac{\frac{{z}^{y}}{a}}{y} \cdot x\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot e^{\left(-1 + t\right) \cdot \log a - b}}{y}\\ \end{array} \end{array} \]
                                                (FPCore (x y z t a b)
                                                 :precision binary64
                                                 (if (or (<= y -1.45e+134) (not (<= y 3.6e+155)))
                                                   (* (/ (/ (pow z y) a) y) x)
                                                   (/ (* x (exp (- (* (+ -1.0 t) (log a)) b))) y)))
                                                double code(double x, double y, double z, double t, double a, double b) {
                                                	double tmp;
                                                	if ((y <= -1.45e+134) || !(y <= 3.6e+155)) {
                                                		tmp = ((pow(z, y) / a) / y) * x;
                                                	} else {
                                                		tmp = (x * exp((((-1.0 + t) * log(a)) - b))) / y;
                                                	}
                                                	return tmp;
                                                }
                                                
                                                real(8) function code(x, y, z, t, a, b)
                                                    real(8), intent (in) :: x
                                                    real(8), intent (in) :: y
                                                    real(8), intent (in) :: z
                                                    real(8), intent (in) :: t
                                                    real(8), intent (in) :: a
                                                    real(8), intent (in) :: b
                                                    real(8) :: tmp
                                                    if ((y <= (-1.45d+134)) .or. (.not. (y <= 3.6d+155))) then
                                                        tmp = (((z ** y) / a) / y) * x
                                                    else
                                                        tmp = (x * exp(((((-1.0d0) + t) * log(a)) - b))) / y
                                                    end if
                                                    code = tmp
                                                end function
                                                
                                                public static double code(double x, double y, double z, double t, double a, double b) {
                                                	double tmp;
                                                	if ((y <= -1.45e+134) || !(y <= 3.6e+155)) {
                                                		tmp = ((Math.pow(z, y) / a) / y) * x;
                                                	} else {
                                                		tmp = (x * Math.exp((((-1.0 + t) * Math.log(a)) - b))) / y;
                                                	}
                                                	return tmp;
                                                }
                                                
                                                def code(x, y, z, t, a, b):
                                                	tmp = 0
                                                	if (y <= -1.45e+134) or not (y <= 3.6e+155):
                                                		tmp = ((math.pow(z, y) / a) / y) * x
                                                	else:
                                                		tmp = (x * math.exp((((-1.0 + t) * math.log(a)) - b))) / y
                                                	return tmp
                                                
                                                function code(x, y, z, t, a, b)
                                                	tmp = 0.0
                                                	if ((y <= -1.45e+134) || !(y <= 3.6e+155))
                                                		tmp = Float64(Float64(Float64((z ^ y) / a) / y) * x);
                                                	else
                                                		tmp = Float64(Float64(x * exp(Float64(Float64(Float64(-1.0 + t) * log(a)) - b))) / y);
                                                	end
                                                	return tmp
                                                end
                                                
                                                function tmp_2 = code(x, y, z, t, a, b)
                                                	tmp = 0.0;
                                                	if ((y <= -1.45e+134) || ~((y <= 3.6e+155)))
                                                		tmp = (((z ^ y) / a) / y) * x;
                                                	else
                                                		tmp = (x * exp((((-1.0 + t) * log(a)) - b))) / y;
                                                	end
                                                	tmp_2 = tmp;
                                                end
                                                
                                                code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -1.45e+134], N[Not[LessEqual[y, 3.6e+155]], $MachinePrecision]], N[(N[(N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision], N[(N[(x * N[Exp[N[(N[(N[(-1.0 + t), $MachinePrecision] * N[Log[a], $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
                                                
                                                \begin{array}{l}
                                                
                                                \\
                                                \begin{array}{l}
                                                \mathbf{if}\;y \leq -1.45 \cdot 10^{+134} \lor \neg \left(y \leq 3.6 \cdot 10^{+155}\right):\\
                                                \;\;\;\;\frac{\frac{{z}^{y}}{a}}{y} \cdot x\\
                                                
                                                \mathbf{else}:\\
                                                \;\;\;\;\frac{x \cdot e^{\left(-1 + t\right) \cdot \log a - b}}{y}\\
                                                
                                                
                                                \end{array}
                                                \end{array}
                                                
                                                Derivation
                                                1. Split input into 2 regimes
                                                2. if y < -1.45000000000000006e134 or 3.60000000000000007e155 < y

                                                  1. Initial program 100.0%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                    if -1.45000000000000006e134 < y < 3.60000000000000007e155

                                                    1. Initial program 98.6%

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

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

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

                                                        \[\leadsto \frac{x \cdot e^{\left(t \cdot \log a - \color{blue}{\left(\mathsf{neg}\left(-1\right)\right)} \cdot \log a\right) - b}}{y} \]
                                                      3. fp-cancel-sign-sub-invN/A

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

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

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

                                                        \[\leadsto \frac{x \cdot e^{\color{blue}{\left(-1 + t\right) \cdot \log a} - b}}{y} \]
                                                      7. metadata-evalN/A

                                                        \[\leadsto \frac{x \cdot e^{\left(\color{blue}{\left(\mathsf{neg}\left(1\right)\right)} + t\right) \cdot \log a - b}}{y} \]
                                                      8. remove-double-negN/A

                                                        \[\leadsto \frac{x \cdot e^{\left(\left(\mathsf{neg}\left(1\right)\right) + \color{blue}{\left(\mathsf{neg}\left(\left(\mathsf{neg}\left(t\right)\right)\right)\right)}\right) \cdot \log a - b}}{y} \]
                                                      9. distribute-neg-inN/A

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

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

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

                                                        \[\leadsto \frac{x \cdot e^{\left(\mathsf{neg}\left(\left(1 + \color{blue}{\left(\mathsf{neg}\left(t\right)\right)}\right)\right)\right) \cdot \log a - b}}{y} \]
                                                      13. distribute-neg-inN/A

                                                        \[\leadsto \frac{x \cdot e^{\color{blue}{\left(\left(\mathsf{neg}\left(1\right)\right) + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(t\right)\right)\right)\right)\right)} \cdot \log a - b}}{y} \]
                                                      14. metadata-evalN/A

                                                        \[\leadsto \frac{x \cdot e^{\left(\color{blue}{-1} + \left(\mathsf{neg}\left(\left(\mathsf{neg}\left(t\right)\right)\right)\right)\right) \cdot \log a - b}}{y} \]
                                                      15. remove-double-negN/A

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

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

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

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

                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -1.45 \cdot 10^{+134} \lor \neg \left(y \leq 3.6 \cdot 10^{+155}\right):\\ \;\;\;\;\frac{\frac{{z}^{y}}{a}}{y} \cdot x\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot e^{\left(-1 + t\right) \cdot \log a - b}}{y}\\ \end{array} \]
                                                  12. Add Preprocessing

                                                  Alternative 9: 85.2% accurate, 1.4× speedup?

                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -5 \cdot 10^{-44} \lor \neg \left(b \leq 2.55 \cdot 10^{+57}\right):\\ \;\;\;\;\frac{x \cdot e^{\log a \cdot t - b}}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{{z}^{y} \cdot {a}^{\left(t - 1\right)}}{y} \cdot x\\ \end{array} \end{array} \]
                                                  (FPCore (x y z t a b)
                                                   :precision binary64
                                                   (if (or (<= b -5e-44) (not (<= b 2.55e+57)))
                                                     (/ (* x (exp (- (* (log a) t) b))) y)
                                                     (* (/ (* (pow z y) (pow a (- t 1.0))) y) x)))
                                                  double code(double x, double y, double z, double t, double a, double b) {
                                                  	double tmp;
                                                  	if ((b <= -5e-44) || !(b <= 2.55e+57)) {
                                                  		tmp = (x * exp(((log(a) * t) - b))) / y;
                                                  	} else {
                                                  		tmp = ((pow(z, y) * pow(a, (t - 1.0))) / y) * x;
                                                  	}
                                                  	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-44)) .or. (.not. (b <= 2.55d+57))) then
                                                          tmp = (x * exp(((log(a) * t) - b))) / y
                                                      else
                                                          tmp = (((z ** y) * (a ** (t - 1.0d0))) / y) * x
                                                      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-44) || !(b <= 2.55e+57)) {
                                                  		tmp = (x * Math.exp(((Math.log(a) * t) - b))) / y;
                                                  	} else {
                                                  		tmp = ((Math.pow(z, y) * Math.pow(a, (t - 1.0))) / y) * x;
                                                  	}
                                                  	return tmp;
                                                  }
                                                  
                                                  def code(x, y, z, t, a, b):
                                                  	tmp = 0
                                                  	if (b <= -5e-44) or not (b <= 2.55e+57):
                                                  		tmp = (x * math.exp(((math.log(a) * t) - b))) / y
                                                  	else:
                                                  		tmp = ((math.pow(z, y) * math.pow(a, (t - 1.0))) / y) * x
                                                  	return tmp
                                                  
                                                  function code(x, y, z, t, a, b)
                                                  	tmp = 0.0
                                                  	if ((b <= -5e-44) || !(b <= 2.55e+57))
                                                  		tmp = Float64(Float64(x * exp(Float64(Float64(log(a) * t) - b))) / y);
                                                  	else
                                                  		tmp = Float64(Float64(Float64((z ^ y) * (a ^ Float64(t - 1.0))) / y) * x);
                                                  	end
                                                  	return tmp
                                                  end
                                                  
                                                  function tmp_2 = code(x, y, z, t, a, b)
                                                  	tmp = 0.0;
                                                  	if ((b <= -5e-44) || ~((b <= 2.55e+57)))
                                                  		tmp = (x * exp(((log(a) * t) - b))) / y;
                                                  	else
                                                  		tmp = (((z ^ y) * (a ^ (t - 1.0))) / y) * x;
                                                  	end
                                                  	tmp_2 = tmp;
                                                  end
                                                  
                                                  code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[b, -5e-44], N[Not[LessEqual[b, 2.55e+57]], $MachinePrecision]], N[(N[(x * N[Exp[N[(N[(N[Log[a], $MachinePrecision] * t), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(N[(N[Power[z, y], $MachinePrecision] * N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision]]
                                                  
                                                  \begin{array}{l}
                                                  
                                                  \\
                                                  \begin{array}{l}
                                                  \mathbf{if}\;b \leq -5 \cdot 10^{-44} \lor \neg \left(b \leq 2.55 \cdot 10^{+57}\right):\\
                                                  \;\;\;\;\frac{x \cdot e^{\log a \cdot t - b}}{y}\\
                                                  
                                                  \mathbf{else}:\\
                                                  \;\;\;\;\frac{{z}^{y} \cdot {a}^{\left(t - 1\right)}}{y} \cdot x\\
                                                  
                                                  
                                                  \end{array}
                                                  \end{array}
                                                  
                                                  Derivation
                                                  1. Split input into 2 regimes
                                                  2. if b < -5.00000000000000039e-44 or 2.55000000000000011e57 < b

                                                    1. Initial program 100.0%

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

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

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

                                                        \[\leadsto \frac{x \cdot e^{\color{blue}{\log a \cdot t} - b}}{y} \]
                                                      3. lower-log.f6489.4

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

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

                                                    if -5.00000000000000039e-44 < b < 2.55000000000000011e57

                                                    1. Initial program 98.3%

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                  Alternative 10: 33.4% accurate, 1.4× speedup?

                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;\left(t - 1\right) \cdot \log a \leq -2 \cdot 10^{+17}:\\ \;\;\;\;\frac{x \cdot \frac{-b}{a}}{y}\\ \mathbf{else}:\\ \;\;\;\;\frac{{a}^{-1}}{y} \cdot x\\ \end{array} \end{array} \]
                                                  (FPCore (x y z t a b)
                                                   :precision binary64
                                                   (if (<= (* (- t 1.0) (log a)) -2e+17)
                                                     (/ (* x (/ (- b) a)) y)
                                                     (* (/ (pow a -1.0) y) x)))
                                                  double code(double x, double y, double z, double t, double a, double b) {
                                                  	double tmp;
                                                  	if (((t - 1.0) * log(a)) <= -2e+17) {
                                                  		tmp = (x * (-b / a)) / y;
                                                  	} else {
                                                  		tmp = (pow(a, -1.0) / y) * x;
                                                  	}
                                                  	return tmp;
                                                  }
                                                  
                                                  real(8) function code(x, y, z, t, a, b)
                                                      real(8), intent (in) :: x
                                                      real(8), intent (in) :: y
                                                      real(8), intent (in) :: z
                                                      real(8), intent (in) :: t
                                                      real(8), intent (in) :: a
                                                      real(8), intent (in) :: b
                                                      real(8) :: tmp
                                                      if (((t - 1.0d0) * log(a)) <= (-2d+17)) then
                                                          tmp = (x * (-b / a)) / y
                                                      else
                                                          tmp = ((a ** (-1.0d0)) / y) * x
                                                      end if
                                                      code = tmp
                                                  end function
                                                  
                                                  public static double code(double x, double y, double z, double t, double a, double b) {
                                                  	double tmp;
                                                  	if (((t - 1.0) * Math.log(a)) <= -2e+17) {
                                                  		tmp = (x * (-b / a)) / y;
                                                  	} else {
                                                  		tmp = (Math.pow(a, -1.0) / y) * x;
                                                  	}
                                                  	return tmp;
                                                  }
                                                  
                                                  def code(x, y, z, t, a, b):
                                                  	tmp = 0
                                                  	if ((t - 1.0) * math.log(a)) <= -2e+17:
                                                  		tmp = (x * (-b / a)) / y
                                                  	else:
                                                  		tmp = (math.pow(a, -1.0) / y) * x
                                                  	return tmp
                                                  
                                                  function code(x, y, z, t, a, b)
                                                  	tmp = 0.0
                                                  	if (Float64(Float64(t - 1.0) * log(a)) <= -2e+17)
                                                  		tmp = Float64(Float64(x * Float64(Float64(-b) / a)) / y);
                                                  	else
                                                  		tmp = Float64(Float64((a ^ -1.0) / y) * x);
                                                  	end
                                                  	return tmp
                                                  end
                                                  
                                                  function tmp_2 = code(x, y, z, t, a, b)
                                                  	tmp = 0.0;
                                                  	if (((t - 1.0) * log(a)) <= -2e+17)
                                                  		tmp = (x * (-b / a)) / y;
                                                  	else
                                                  		tmp = ((a ^ -1.0) / y) * x;
                                                  	end
                                                  	tmp_2 = tmp;
                                                  end
                                                  
                                                  code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(t - 1.0), $MachinePrecision] * N[Log[a], $MachinePrecision]), $MachinePrecision], -2e+17], N[(N[(x * N[((-b) / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(N[Power[a, -1.0], $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision]]
                                                  
                                                  \begin{array}{l}
                                                  
                                                  \\
                                                  \begin{array}{l}
                                                  \mathbf{if}\;\left(t - 1\right) \cdot \log a \leq -2 \cdot 10^{+17}:\\
                                                  \;\;\;\;\frac{x \cdot \frac{-b}{a}}{y}\\
                                                  
                                                  \mathbf{else}:\\
                                                  \;\;\;\;\frac{{a}^{-1}}{y} \cdot x\\
                                                  
                                                  
                                                  \end{array}
                                                  \end{array}
                                                  
                                                  Derivation
                                                  1. Split input into 2 regimes
                                                  2. if (*.f64 (-.f64 t #s(literal 1 binary64)) (log.f64 a)) < -2e17

                                                    1. Initial program 100.0%

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

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

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

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

                                                        \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
                                                      4. fp-cancel-sign-sub-invN/A

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

                                                        \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z - \color{blue}{1} \cdot \log a}}{e^{b}}}{y} \]
                                                      6. *-lft-identityN/A

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

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

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

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

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

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

                                                        \[\leadsto \frac{x \cdot \frac{\frac{\color{blue}{{z}^{y}}}{a}}{e^{b}}}{y} \]
                                                      13. lower-exp.f6455.9

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

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

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

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

                                                        \[\leadsto \frac{x \cdot \left(-1 \cdot \frac{b}{a} + \frac{1}{\color{blue}{a}}\right)}{y} \]
                                                      3. Step-by-step derivation
                                                        1. Applied rewrites23.7%

                                                          \[\leadsto \frac{x \cdot \frac{\mathsf{fma}\left(-1, b, 1\right)}{a}}{y} \]
                                                        2. Taylor expanded in b around inf

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

                                                            \[\leadsto \frac{x \cdot \frac{-b}{a}}{y} \]

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

                                                          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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                                          4. Step-by-step derivation
                                                            1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                \[\leadsto \frac{\frac{1}{a}}{y} \cdot x \]
                                                            4. Recombined 2 regimes into one program.
                                                            5. Final simplification40.8%

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

                                                            Alternative 11: 74.3% accurate, 2.3× speedup?

                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -2.25 \cdot 10^{+17}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 1.9 \cdot 10^{-232}:\\ \;\;\;\;\frac{\frac{{z}^{y}}{a}}{y} \cdot x\\ \mathbf{elif}\;b \leq 2.1 \cdot 10^{-16}:\\ \;\;\;\;\frac{\frac{{a}^{t}}{a}}{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 -2.25e+17)
                                                                 t_1
                                                                 (if (<= b 1.9e-232)
                                                                   (* (/ (/ (pow z y) a) y) x)
                                                                   (if (<= b 2.1e-16) (* (/ (/ (pow a t) a) 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 <= -2.25e+17) {
                                                            		tmp = t_1;
                                                            	} else if (b <= 1.9e-232) {
                                                            		tmp = ((pow(z, y) / a) / y) * x;
                                                            	} else if (b <= 2.1e-16) {
                                                            		tmp = ((pow(a, t) / a) / 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 <= (-2.25d+17)) then
                                                                    tmp = t_1
                                                                else if (b <= 1.9d-232) then
                                                                    tmp = (((z ** y) / a) / y) * x
                                                                else if (b <= 2.1d-16) then
                                                                    tmp = (((a ** t) / a) / 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 <= -2.25e+17) {
                                                            		tmp = t_1;
                                                            	} else if (b <= 1.9e-232) {
                                                            		tmp = ((Math.pow(z, y) / a) / y) * x;
                                                            	} else if (b <= 2.1e-16) {
                                                            		tmp = ((Math.pow(a, t) / a) / 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 <= -2.25e+17:
                                                            		tmp = t_1
                                                            	elif b <= 1.9e-232:
                                                            		tmp = ((math.pow(z, y) / a) / y) * x
                                                            	elif b <= 2.1e-16:
                                                            		tmp = ((math.pow(a, t) / a) / 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 <= -2.25e+17)
                                                            		tmp = t_1;
                                                            	elseif (b <= 1.9e-232)
                                                            		tmp = Float64(Float64(Float64((z ^ y) / a) / y) * x);
                                                            	elseif (b <= 2.1e-16)
                                                            		tmp = Float64(Float64(Float64((a ^ t) / a) / 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 <= -2.25e+17)
                                                            		tmp = t_1;
                                                            	elseif (b <= 1.9e-232)
                                                            		tmp = (((z ^ y) / a) / y) * x;
                                                            	elseif (b <= 2.1e-16)
                                                            		tmp = (((a ^ t) / a) / 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, -2.25e+17], t$95$1, If[LessEqual[b, 1.9e-232], N[(N[(N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[b, 2.1e-16], N[(N[(N[(N[Power[a, t], $MachinePrecision] / a), $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 -2.25 \cdot 10^{+17}:\\
                                                            \;\;\;\;t\_1\\
                                                            
                                                            \mathbf{elif}\;b \leq 1.9 \cdot 10^{-232}:\\
                                                            \;\;\;\;\frac{\frac{{z}^{y}}{a}}{y} \cdot x\\
                                                            
                                                            \mathbf{elif}\;b \leq 2.1 \cdot 10^{-16}:\\
                                                            \;\;\;\;\frac{\frac{{a}^{t}}{a}}{y} \cdot x\\
                                                            
                                                            \mathbf{else}:\\
                                                            \;\;\;\;t\_1\\
                                                            
                                                            
                                                            \end{array}
                                                            \end{array}
                                                            
                                                            Derivation
                                                            1. Split input into 3 regimes
                                                            2. if b < -2.25e17 or 2.1000000000000001e-16 < 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 0

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

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

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

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

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

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

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

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

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

                                                                \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                                              7. 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.f6484.2

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

                                                                \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                              9. 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-/.f6484.2

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

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

                                                              if -2.25e17 < b < 1.9000000000000001e-232

                                                              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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                                              4. Step-by-step derivation
                                                                1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                if 1.9000000000000001e-232 < b < 2.1000000000000001e-16

                                                                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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                                                4. Step-by-step derivation
                                                                  1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                    \[\leadsto \frac{\frac{{a}^{t}}{a}}{y} \cdot x \]
                                                                  3. Step-by-step derivation
                                                                    1. Applied rewrites86.2%

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

                                                                  Alternative 12: 75.0% accurate, 2.4× speedup?

                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \frac{e^{-b}}{y} \cdot x\\ \mathbf{if}\;b \leq -2.25 \cdot 10^{+17}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;b \leq 1.9 \cdot 10^{-232}:\\ \;\;\;\;\frac{\frac{{z}^{y}}{a}}{y} \cdot x\\ \mathbf{elif}\;b \leq 1500:\\ \;\;\;\;\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 -2.25e+17)
                                                                       t_1
                                                                       (if (<= b 1.9e-232)
                                                                         (* (/ (/ (pow z y) a) y) x)
                                                                         (if (<= b 1500.0) (* (/ (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 <= -2.25e+17) {
                                                                  		tmp = t_1;
                                                                  	} else if (b <= 1.9e-232) {
                                                                  		tmp = ((pow(z, y) / a) / y) * x;
                                                                  	} else if (b <= 1500.0) {
                                                                  		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 <= (-2.25d+17)) then
                                                                          tmp = t_1
                                                                      else if (b <= 1.9d-232) then
                                                                          tmp = (((z ** y) / a) / y) * x
                                                                      else if (b <= 1500.0d0) 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 <= -2.25e+17) {
                                                                  		tmp = t_1;
                                                                  	} else if (b <= 1.9e-232) {
                                                                  		tmp = ((Math.pow(z, y) / a) / y) * x;
                                                                  	} else if (b <= 1500.0) {
                                                                  		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 <= -2.25e+17:
                                                                  		tmp = t_1
                                                                  	elif b <= 1.9e-232:
                                                                  		tmp = ((math.pow(z, y) / a) / y) * x
                                                                  	elif b <= 1500.0:
                                                                  		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 <= -2.25e+17)
                                                                  		tmp = t_1;
                                                                  	elseif (b <= 1.9e-232)
                                                                  		tmp = Float64(Float64(Float64((z ^ y) / a) / y) * x);
                                                                  	elseif (b <= 1500.0)
                                                                  		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 <= -2.25e+17)
                                                                  		tmp = t_1;
                                                                  	elseif (b <= 1.9e-232)
                                                                  		tmp = (((z ^ y) / a) / y) * x;
                                                                  	elseif (b <= 1500.0)
                                                                  		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, -2.25e+17], t$95$1, If[LessEqual[b, 1.9e-232], N[(N[(N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[b, 1500.0], 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 -2.25 \cdot 10^{+17}:\\
                                                                  \;\;\;\;t\_1\\
                                                                  
                                                                  \mathbf{elif}\;b \leq 1.9 \cdot 10^{-232}:\\
                                                                  \;\;\;\;\frac{\frac{{z}^{y}}{a}}{y} \cdot x\\
                                                                  
                                                                  \mathbf{elif}\;b \leq 1500:\\
                                                                  \;\;\;\;\frac{{a}^{\left(t - 1\right)}}{y} \cdot x\\
                                                                  
                                                                  \mathbf{else}:\\
                                                                  \;\;\;\;t\_1\\
                                                                  
                                                                  
                                                                  \end{array}
                                                                  \end{array}
                                                                  
                                                                  Derivation
                                                                  1. Split input into 3 regimes
                                                                  2. if b < -2.25e17 or 1500 < 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 0

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

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

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

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

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

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

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

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

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

                                                                      \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                                                    7. 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.f6484.7

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

                                                                      \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                                    9. 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-/.f6484.7

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

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

                                                                    if -2.25e17 < b < 1.9000000000000001e-232

                                                                    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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                                                    4. Step-by-step derivation
                                                                      1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                      if 1.9000000000000001e-232 < b < 1500

                                                                      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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                                                      4. Step-by-step derivation
                                                                        1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                      Alternative 13: 75.0% accurate, 2.5× speedup?

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

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

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

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

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

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

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

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

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

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

                                                                          \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                                                        7. 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.f6484.7

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

                                                                          \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                                        9. 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-/.f6484.7

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

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

                                                                        if -1.15e19 < b < 1500

                                                                        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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                                                        4. Step-by-step derivation
                                                                          1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -1.15 \cdot 10^{+19} \lor \neg \left(b \leq 1500\right):\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \mathbf{else}:\\ \;\;\;\;\frac{{a}^{\left(t - 1\right)}}{y} \cdot x\\ \end{array} \]
                                                                        12. Add Preprocessing

                                                                        Alternative 14: 58.3% accurate, 2.6× speedup?

                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;b \leq -4000 \lor \neg \left(b \leq 19\right):\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot \frac{1}{a}}{y}\\ \end{array} \end{array} \]
                                                                        (FPCore (x y z t a b)
                                                                         :precision binary64
                                                                         (if (or (<= b -4000.0) (not (<= b 19.0)))
                                                                           (* (/ (exp (- b)) y) x)
                                                                           (/ (* x (/ 1.0 a)) y)))
                                                                        double code(double x, double y, double z, double t, double a, double b) {
                                                                        	double tmp;
                                                                        	if ((b <= -4000.0) || !(b <= 19.0)) {
                                                                        		tmp = (exp(-b) / y) * x;
                                                                        	} else {
                                                                        		tmp = (x * (1.0 / 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 <= (-4000.0d0)) .or. (.not. (b <= 19.0d0))) then
                                                                                tmp = (exp(-b) / y) * x
                                                                            else
                                                                                tmp = (x * (1.0d0 / 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 <= -4000.0) || !(b <= 19.0)) {
                                                                        		tmp = (Math.exp(-b) / y) * x;
                                                                        	} else {
                                                                        		tmp = (x * (1.0 / a)) / y;
                                                                        	}
                                                                        	return tmp;
                                                                        }
                                                                        
                                                                        def code(x, y, z, t, a, b):
                                                                        	tmp = 0
                                                                        	if (b <= -4000.0) or not (b <= 19.0):
                                                                        		tmp = (math.exp(-b) / y) * x
                                                                        	else:
                                                                        		tmp = (x * (1.0 / a)) / y
                                                                        	return tmp
                                                                        
                                                                        function code(x, y, z, t, a, b)
                                                                        	tmp = 0.0
                                                                        	if ((b <= -4000.0) || !(b <= 19.0))
                                                                        		tmp = Float64(Float64(exp(Float64(-b)) / y) * x);
                                                                        	else
                                                                        		tmp = Float64(Float64(x * Float64(1.0 / a)) / y);
                                                                        	end
                                                                        	return tmp
                                                                        end
                                                                        
                                                                        function tmp_2 = code(x, y, z, t, a, b)
                                                                        	tmp = 0.0;
                                                                        	if ((b <= -4000.0) || ~((b <= 19.0)))
                                                                        		tmp = (exp(-b) / y) * x;
                                                                        	else
                                                                        		tmp = (x * (1.0 / a)) / y;
                                                                        	end
                                                                        	tmp_2 = tmp;
                                                                        end
                                                                        
                                                                        code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[b, -4000.0], N[Not[LessEqual[b, 19.0]], $MachinePrecision]], N[(N[(N[Exp[(-b)], $MachinePrecision] / y), $MachinePrecision] * x), $MachinePrecision], N[(N[(x * N[(1.0 / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
                                                                        
                                                                        \begin{array}{l}
                                                                        
                                                                        \\
                                                                        \begin{array}{l}
                                                                        \mathbf{if}\;b \leq -4000 \lor \neg \left(b \leq 19\right):\\
                                                                        \;\;\;\;\frac{e^{-b}}{y} \cdot x\\
                                                                        
                                                                        \mathbf{else}:\\
                                                                        \;\;\;\;\frac{x \cdot \frac{1}{a}}{y}\\
                                                                        
                                                                        
                                                                        \end{array}
                                                                        \end{array}
                                                                        
                                                                        Derivation
                                                                        1. Split input into 2 regimes
                                                                        2. if b < -4e3 or 19 < 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 0

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

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

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

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

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

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

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

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

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

                                                                            \[\leadsto \frac{x \cdot e^{\color{blue}{-1 \cdot b}}}{y} \]
                                                                          7. 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.7

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

                                                                            \[\leadsto \frac{x \cdot e^{\color{blue}{-b}}}{y} \]
                                                                          9. 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.7

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

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

                                                                          if -4e3 < b < 19

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

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

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

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

                                                                              \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
                                                                            4. fp-cancel-sign-sub-invN/A

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

                                                                              \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z - \color{blue}{1} \cdot \log a}}{e^{b}}}{y} \]
                                                                            6. *-lft-identityN/A

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

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

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

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

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

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

                                                                              \[\leadsto \frac{x \cdot \frac{\frac{\color{blue}{{z}^{y}}}{a}}{e^{b}}}{y} \]
                                                                            13. lower-exp.f6476.3

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

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

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

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

                                                                              \[\leadsto \frac{x \cdot \left(-1 \cdot \frac{b}{a} + \frac{1}{\color{blue}{a}}\right)}{y} \]
                                                                            3. Step-by-step derivation
                                                                              1. Applied rewrites42.9%

                                                                                \[\leadsto \frac{x \cdot \frac{\mathsf{fma}\left(-1, b, 1\right)}{a}}{y} \]
                                                                              2. Taylor expanded in b around 0

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

                                                                                  \[\leadsto \frac{x \cdot \frac{1}{a}}{y} \]
                                                                              4. Recombined 2 regimes into one program.
                                                                              5. Final simplification62.2%

                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;b \leq -4000 \lor \neg \left(b \leq 19\right):\\ \;\;\;\;\frac{e^{-b}}{y} \cdot x\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot \frac{1}{a}}{y}\\ \end{array} \]
                                                                              6. Add Preprocessing

                                                                              Alternative 15: 30.6% accurate, 2.7× speedup?

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

                                                                                1. Initial program 98.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 \frac{x \cdot \color{blue}{e^{y \cdot \log z + \log a \cdot \left(t - 1\right)}}}{y} \]
                                                                                4. Step-by-step derivation
                                                                                  1. +-commutativeN/A

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                    if -4.8000000000000001e-163 < y

                                                                                    1. Initial program 99.4%

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

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

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

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

                                                                                        \[\leadsto \frac{x \cdot \frac{e^{\color{blue}{y \cdot \log z + -1 \cdot \log a}}}{e^{b}}}{y} \]
                                                                                      4. fp-cancel-sign-sub-invN/A

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

                                                                                        \[\leadsto \frac{x \cdot \frac{e^{y \cdot \log z - \color{blue}{1} \cdot \log a}}{e^{b}}}{y} \]
                                                                                      6. *-lft-identityN/A

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

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

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

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

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

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

                                                                                        \[\leadsto \frac{x \cdot \frac{\frac{\color{blue}{{z}^{y}}}{a}}{e^{b}}}{y} \]
                                                                                      13. lower-exp.f6472.0

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

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

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

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

                                                                                        \[\leadsto \frac{x \cdot \left(-1 \cdot \frac{b}{a} + \frac{1}{\color{blue}{a}}\right)}{y} \]
                                                                                      3. Step-by-step derivation
                                                                                        1. Applied rewrites38.3%

                                                                                          \[\leadsto \frac{x \cdot \frac{\mathsf{fma}\left(-1, b, 1\right)}{a}}{y} \]
                                                                                        2. Taylor expanded in b around 0

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

                                                                                            \[\leadsto \frac{x \cdot \frac{1}{a}}{y} \]
                                                                                        4. Recombined 2 regimes into one program.
                                                                                        5. Final simplification38.8%

                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -4.8 \cdot 10^{-163}:\\ \;\;\;\;\frac{{a}^{-1}}{y} \cdot x\\ \mathbf{else}:\\ \;\;\;\;\frac{x \cdot \frac{1}{a}}{y}\\ \end{array} \]
                                                                                        6. Add Preprocessing

                                                                                        Alternative 16: 30.6% accurate, 2.8× speedup?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                                                                              \[\leadsto \frac{\frac{1}{a}}{y} \cdot x \]
                                                                                            2. Final simplification35.8%

                                                                                              \[\leadsto \frac{{a}^{-1}}{y} \cdot x \]
                                                                                            3. Add Preprocessing

                                                                                            Developer Target 1: 72.1% 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 2024326 
                                                                                            (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))