Initial program 60.6%
\[\frac{-\log \left(1 - u0\right)}{\frac{cos2phi}{alphax \cdot alphax} + \frac{sin2phi}{alphay \cdot alphay}}
\]
Applied egg-rr97.6%
\[\leadsto \color{blue}{\frac{-1}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)} \cdot \left(\mathsf{log1p}\left(-u0\right) \cdot {\left(alphax \cdot alphay\right)}^{2}\right)}
\]
Simplified98.0%
\[\leadsto \color{blue}{{\left(alphax \cdot alphay\right)}^{2} \cdot \frac{-\mathsf{log1p}\left(-u0\right)}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)}}
\]
Proof
[Start]97.6 | \[ \frac{-1}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)} \cdot \left(\mathsf{log1p}\left(-u0\right) \cdot {\left(alphax \cdot alphay\right)}^{2}\right)
\] |
|---|
associate-*r* [=>]97.6 | \[ \color{blue}{\left(\frac{-1}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)} \cdot \mathsf{log1p}\left(-u0\right)\right) \cdot {\left(alphax \cdot alphay\right)}^{2}}
\] |
|---|
*-commutative [=>]97.6 | \[ \color{blue}{{\left(alphax \cdot alphay\right)}^{2} \cdot \left(\frac{-1}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)} \cdot \mathsf{log1p}\left(-u0\right)\right)}
\] |
|---|
associate-*l/ [=>]98.0 | \[ {\left(alphax \cdot alphay\right)}^{2} \cdot \color{blue}{\frac{-1 \cdot \mathsf{log1p}\left(-u0\right)}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)}}
\] |
|---|
mul-1-neg [=>]98.0 | \[ {\left(alphax \cdot alphay\right)}^{2} \cdot \frac{\color{blue}{-\mathsf{log1p}\left(-u0\right)}}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)}
\] |
|---|
Applied egg-rr98.2%
\[\leadsto \color{blue}{\left(\left(\left(alphax \cdot alphax\right) \cdot alphay\right) \cdot alphay\right)} \cdot \frac{-\mathsf{log1p}\left(-u0\right)}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)}
\]
Final simplification98.2%
\[\leadsto \left(alphay \cdot \left(\left(alphax \cdot alphax\right) \cdot alphay\right)\right) \cdot \frac{-\mathsf{log1p}\left(-u0\right)}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)}
\]