- Split input into 2 regimes
if x < 2246989294872715
Initial program 0.2
\[\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467001\right) + \frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{x}\]
Simplified0.2
\[\leadsto \color{blue}{\left(x - 0.5\right) \cdot \log x + \left(0.91893853320467001 + \left(\frac{z \cdot \left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) + 0.0833333333333329956}{x} - x\right)\right)}\]
- Using strategy
rm Applied flip--0.2
\[\leadsto \color{blue}{\frac{x \cdot x - 0.5 \cdot 0.5}{x + 0.5}} \cdot \log x + \left(0.91893853320467001 + \left(\frac{z \cdot \left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) + 0.0833333333333329956}{x} - x\right)\right)\]
Applied associate-*l/0.2
\[\leadsto \color{blue}{\frac{\left(x \cdot x - 0.5 \cdot 0.5\right) \cdot \log x}{x + 0.5}} + \left(0.91893853320467001 + \left(\frac{z \cdot \left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) + 0.0833333333333329956}{x} - x\right)\right)\]
Simplified0.2
\[\leadsto \frac{\color{blue}{\log x \cdot \left(x \cdot x - 0.5 \cdot 0.5\right)}}{x + 0.5} + \left(0.91893853320467001 + \left(\frac{z \cdot \left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) + 0.0833333333333329956}{x} - x\right)\right)\]
if 2246989294872715 < x
Initial program 11.0
\[\left(\left(\left(x - 0.5\right) \cdot \log x - x\right) + 0.91893853320467001\right) + \frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{x}\]
Simplified11.0
\[\leadsto \color{blue}{\left(x - 0.5\right) \cdot \log x + \left(0.91893853320467001 + \left(\frac{z \cdot \left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) + 0.0833333333333329956}{x} - x\right)\right)}\]
Taylor expanded around inf 11.1
\[\leadsto \color{blue}{\left(7.93650079365100015 \cdot 10^{-4} \cdot \frac{{z}^{2}}{x} + \left(\frac{{z}^{2} \cdot y}{x} + \log 1 \cdot x\right)\right) - \left(x + x \cdot \log \left(\frac{1}{x}\right)\right)}\]
Simplified0.4
\[\leadsto \color{blue}{\frac{z}{\frac{x}{z}} \cdot \left(y + 7.93650079365100015 \cdot 10^{-4}\right) + x \cdot \left(\log 1 - \left(\left(-\log x\right) + 1\right)\right)}\]
- Recombined 2 regimes into one program.
Final simplification0.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;x \le 2246989294872715:\\
\;\;\;\;\frac{\log x \cdot \left(x \cdot x - 0.5 \cdot 0.5\right)}{x + 0.5} + \left(0.91893853320467001 + \left(\frac{z \cdot \left(z \cdot \left(y + 7.93650079365100015 \cdot 10^{-4}\right) - 0.0027777777777778\right) + 0.0833333333333329956}{x} - x\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot \frac{z}{\frac{x}{z}} + x \cdot \left(\log 1 - \left(1 + \left(-\log x\right)\right)\right)\\
\end{array}\]