- Split input into 2 regimes
if (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y) < -7.999887503508039e-179 or 0.0 < (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y)
Initial program 5.9
\[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
Taylor expanded around inf 5.9
\[\leadsto \frac{x \cdot \color{blue}{e^{1.0 \cdot \log \left(\frac{1}{a}\right) - \left(\log \left(\frac{1}{z}\right) \cdot y + \left(b + t \cdot \log \left(\frac{1}{a}\right)\right)\right)}}}{y}\]
Simplified0.9
\[\leadsto \frac{x \cdot \color{blue}{\left(\left({a}^{t} \cdot e^{-b}\right) \cdot \left({a}^{\left(-1.0\right)} \cdot {z}^{y}\right)\right)}}{y}\]
if -7.999887503508039e-179 < (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y) < 0.0
Initial program 1.4
\[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
- Using strategy
rm Applied add-cbrt-cube1.6
\[\leadsto \color{blue}{\sqrt[3]{\left(\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y} \cdot \frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\right) \cdot \frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}}}\]
- Recombined 2 regimes into one program.
Final simplification1.5
\[\leadsto \begin{array}{l}
\mathbf{if}\;\frac{x \cdot e^{\left(\log a \cdot \left(t - 1.0\right) + \log z \cdot y\right) - b}}{y} \le -7.999887503508039 \cdot 10^{-179} \lor \neg \left(\frac{x \cdot e^{\left(\log a \cdot \left(t - 1.0\right) + \log z \cdot y\right) - b}}{y} \le 0.0\right):\\
\;\;\;\;\frac{\left(\left({a}^{\left(-1.0\right)} \cdot {z}^{y}\right) \cdot \left(e^{-b} \cdot {a}^{t}\right)\right) \cdot x}{y}\\
\mathbf{else}:\\
\;\;\;\;\sqrt[3]{\frac{x \cdot e^{\left(\log a \cdot \left(t - 1.0\right) + \log z \cdot y\right) - b}}{y} \cdot \left(\frac{x \cdot e^{\left(\log a \cdot \left(t - 1.0\right) + \log z \cdot y\right) - b}}{y} \cdot \frac{x \cdot e^{\left(\log a \cdot \left(t - 1.0\right) + \log z \cdot y\right) - b}}{y}\right)}\\
\end{array}\]