Initial program 12.7
\[\frac{-\log \left(1 - u0\right)}{\frac{cos2phi}{alphax \cdot alphax} + \frac{sin2phi}{alphay \cdot alphay}}
\]
Applied egg-rr0.7
\[\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)}
\]
Simplified0.6
\[\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
(*.f32 (pow.f32 (*.f32 alphax alphay) 2) (/.f32 (neg.f32 (log1p.f32 (neg.f32 u0))) (fma.f32 cos2phi (*.f32 alphay alphay) (*.f32 alphax (*.f32 alphax sin2phi))))): 0 points increase in error, 0 points decrease in error
(*.f32 (pow.f32 (*.f32 alphax alphay) 2) (/.f32 (Rewrite<= mul-1-neg_binary32 (*.f32 -1 (log1p.f32 (neg.f32 u0)))) (fma.f32 cos2phi (*.f32 alphay alphay) (*.f32 alphax (*.f32 alphax sin2phi))))): 0 points increase in error, 5 points decrease in error
(*.f32 (pow.f32 (*.f32 alphax alphay) 2) (Rewrite<= associate-*l/_binary32 (*.f32 (/.f32 -1 (fma.f32 cos2phi (*.f32 alphay alphay) (*.f32 alphax (*.f32 alphax sin2phi)))) (log1p.f32 (neg.f32 u0))))): 5 points increase in error, 0 points decrease in error
(Rewrite<= *-commutative_binary32 (*.f32 (*.f32 (/.f32 -1 (fma.f32 cos2phi (*.f32 alphay alphay) (*.f32 alphax (*.f32 alphax sin2phi)))) (log1p.f32 (neg.f32 u0))) (pow.f32 (*.f32 alphax alphay) 2))): 0 points increase in error, 5 points decrease in error
(Rewrite<= associate-*r*_binary32 (*.f32 (/.f32 -1 (fma.f32 cos2phi (*.f32 alphay alphay) (*.f32 alphax (*.f32 alphax sin2phi)))) (*.f32 (log1p.f32 (neg.f32 u0)) (pow.f32 (*.f32 alphax alphay) 2)))): 5 points increase in error, 0 points decrease in error
Applied egg-rr0.6
\[\leadsto \color{blue}{\left(\left(\left(alphax \cdot alphay\right) \cdot alphay\right) \cdot alphax\right)} \cdot \frac{-\mathsf{log1p}\left(-u0\right)}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)}
\]
Final simplification0.6
\[\leadsto \left(alphax \cdot \left(alphay \cdot \left(alphax \cdot alphay\right)\right)\right) \cdot \frac{-\mathsf{log1p}\left(-u0\right)}{\mathsf{fma}\left(cos2phi, alphay \cdot alphay, alphax \cdot \left(alphax \cdot sin2phi\right)\right)}
\]