- Split input into 2 regimes
if (/ (* (* (pow a t) x) (pow z y)) (* y (* (exp b) (pow a 1.0)))) < 7.816805392612654e+266
Initial program 2.6
\[\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}\]
Taylor expanded around inf 2.6
\[\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}\]
Simplified1.7
\[\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}\]
- Using strategy
rm Applied pow-neg1.7
\[\leadsto \frac{x \cdot \left(\left({a}^{t} \cdot e^{-b}\right) \cdot \left(\color{blue}{\frac{1}{{a}^{1.0}}} \cdot {z}^{y}\right)\right)}{y}\]
Applied associate-*l/1.7
\[\leadsto \frac{x \cdot \left(\left({a}^{t} \cdot e^{-b}\right) \cdot \color{blue}{\frac{1 \cdot {z}^{y}}{{a}^{1.0}}}\right)}{y}\]
Applied exp-neg1.7
\[\leadsto \frac{x \cdot \left(\left({a}^{t} \cdot \color{blue}{\frac{1}{e^{b}}}\right) \cdot \frac{1 \cdot {z}^{y}}{{a}^{1.0}}\right)}{y}\]
Applied un-div-inv1.7
\[\leadsto \frac{x \cdot \left(\color{blue}{\frac{{a}^{t}}{e^{b}}} \cdot \frac{1 \cdot {z}^{y}}{{a}^{1.0}}\right)}{y}\]
Applied frac-times1.7
\[\leadsto \frac{x \cdot \color{blue}{\frac{{a}^{t} \cdot \left(1 \cdot {z}^{y}\right)}{e^{b} \cdot {a}^{1.0}}}}{y}\]
Applied associate-*r/1.7
\[\leadsto \frac{\color{blue}{\frac{x \cdot \left({a}^{t} \cdot \left(1 \cdot {z}^{y}\right)\right)}{e^{b} \cdot {a}^{1.0}}}}{y}\]
Applied associate-/l/0.9
\[\leadsto \color{blue}{\frac{x \cdot \left({a}^{t} \cdot \left(1 \cdot {z}^{y}\right)\right)}{y \cdot \left(e^{b} \cdot {a}^{1.0}\right)}}\]
Simplified0.9
\[\leadsto \frac{\color{blue}{\left({a}^{t} \cdot x\right) \cdot {z}^{y}}}{y \cdot \left(e^{b} \cdot {a}^{1.0}\right)}\]
if 7.816805392612654e+266 < (/ (* (* (pow a t) x) (pow z y)) (* y (* (exp b) (pow a 1.0))))
Initial program 0.2
\[\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-cube-cbrt0.2
\[\leadsto \color{blue}{\left(\sqrt[3]{\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}} \cdot \sqrt[3]{\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1.0\right) \cdot \log a\right) - b}}{y}}\right) \cdot \sqrt[3]{\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 simplification0.7
\[\leadsto \begin{array}{l}
\mathbf{if}\;\frac{{z}^{y} \cdot \left({a}^{t} \cdot x\right)}{\left({a}^{1.0} \cdot e^{b}\right) \cdot y} \le 7.816805392612654 \cdot 10^{+266}:\\
\;\;\;\;\frac{{z}^{y} \cdot \left({a}^{t} \cdot x\right)}{\left({a}^{1.0} \cdot e^{b}\right) \cdot y}\\
\mathbf{else}:\\
\;\;\;\;\left(\sqrt[3]{\frac{x \cdot e^{\left(\left(t - 1.0\right) \cdot \log a + \log z \cdot y\right) - b}}{y}} \cdot \sqrt[3]{\frac{x \cdot e^{\left(\left(t - 1.0\right) \cdot \log a + \log z \cdot y\right) - b}}{y}}\right) \cdot \sqrt[3]{\frac{x \cdot e^{\left(\left(t - 1.0\right) \cdot \log a + \log z \cdot y\right) - b}}{y}}\\
\end{array}\]