- Split input into 2 regimes
if x < 2.4536597575730546e+122
Initial program 1.5
\[\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}\]
Simplified1.5
\[\leadsto \color{blue}{\mathsf{fma}\left(\log x, x - 0.5, \frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{x} - \left(x - 0.91893853320467001\right)\right)}\]
- Using strategy
rm Applied fma-udef1.5
\[\leadsto \color{blue}{\log x \cdot \left(x - 0.5\right) + \left(\frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{x} - \left(x - 0.91893853320467001\right)\right)}\]
- Using strategy
rm Applied *-un-lft-identity1.5
\[\leadsto \log x \cdot \left(x - 0.5\right) + \left(\frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{\color{blue}{1 \cdot x}} - \left(x - 0.91893853320467001\right)\right)\]
Applied associate-/r*1.5
\[\leadsto \log x \cdot \left(x - 0.5\right) + \left(\color{blue}{\frac{\frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{1}}{x}} - \left(x - 0.91893853320467001\right)\right)\]
Simplified1.5
\[\leadsto \log x \cdot \left(x - 0.5\right) + \left(\frac{\color{blue}{\mathsf{fma}\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778, z, 0.0833333333333329956\right)}}{x} - \left(x - 0.91893853320467001\right)\right)\]
- Using strategy
rm Applied flip--1.5
\[\leadsto \log x \cdot \color{blue}{\frac{x \cdot x - 0.5 \cdot 0.5}{x + 0.5}} + \left(\frac{\mathsf{fma}\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778, z, 0.0833333333333329956\right)}{x} - \left(x - 0.91893853320467001\right)\right)\]
Applied associate-*r/1.5
\[\leadsto \color{blue}{\frac{\log x \cdot \left(x \cdot x - 0.5 \cdot 0.5\right)}{x + 0.5}} + \left(\frac{\mathsf{fma}\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778, z, 0.0833333333333329956\right)}{x} - \left(x - 0.91893853320467001\right)\right)\]
if 2.4536597575730546e+122 < x
Initial program 13.8
\[\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}\]
Simplified13.7
\[\leadsto \color{blue}{\mathsf{fma}\left(\log x, x - 0.5, \frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{x} - \left(x - 0.91893853320467001\right)\right)}\]
- Using strategy
rm Applied fma-udef13.8
\[\leadsto \color{blue}{\log x \cdot \left(x - 0.5\right) + \left(\frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{x} - \left(x - 0.91893853320467001\right)\right)}\]
- Using strategy
rm Applied *-un-lft-identity13.8
\[\leadsto \log x \cdot \left(x - 0.5\right) + \left(\frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{\color{blue}{1 \cdot x}} - \left(x - 0.91893853320467001\right)\right)\]
Applied associate-/r*13.8
\[\leadsto \log x \cdot \left(x - 0.5\right) + \left(\color{blue}{\frac{\frac{\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778\right) \cdot z + 0.0833333333333329956}{1}}{x}} - \left(x - 0.91893853320467001\right)\right)\]
Simplified13.8
\[\leadsto \log x \cdot \left(x - 0.5\right) + \left(\frac{\color{blue}{\mathsf{fma}\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778, z, 0.0833333333333329956\right)}}{x} - \left(x - 0.91893853320467001\right)\right)\]
Taylor expanded around 0 11.3
\[\leadsto \log x \cdot \left(x - 0.5\right) + \left(\frac{\color{blue}{\left(7.93650079365100015 \cdot 10^{-4} \cdot {z}^{2} + 0.0833333333333329956\right) - 0.0027777777777778 \cdot z}}{x} - \left(x - 0.91893853320467001\right)\right)\]
Simplified11.3
\[\leadsto \log x \cdot \left(x - 0.5\right) + \left(\frac{\color{blue}{\mathsf{fma}\left({z}^{2}, 7.93650079365100015 \cdot 10^{-4}, 0.0833333333333329956 - 0.0027777777777778 \cdot z\right)}}{x} - \left(x - 0.91893853320467001\right)\right)\]
- Recombined 2 regimes into one program.
Final simplification5.2
\[\leadsto \begin{array}{l}
\mathbf{if}\;x \le 2.45365975757305463 \cdot 10^{122}:\\
\;\;\;\;\frac{\log x \cdot \left(x \cdot x - 0.5 \cdot 0.5\right)}{x + 0.5} + \left(\frac{\mathsf{fma}\left(\left(y + 7.93650079365100015 \cdot 10^{-4}\right) \cdot z - 0.0027777777777778, z, 0.0833333333333329956\right)}{x} - \left(x - 0.91893853320467001\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\log x \cdot \left(x - 0.5\right) + \left(\frac{\mathsf{fma}\left({z}^{2}, 7.93650079365100015 \cdot 10^{-4}, 0.0833333333333329956 - 0.0027777777777778 \cdot z\right)}{x} - \left(x - 0.91893853320467001\right)\right)\\
\end{array}\]