Initial program 0.1
\[\left(x \cdot \log y - z\right) - y
\]
Simplified0.1
\[\leadsto \color{blue}{\mathsf{fma}\left(x, \log y, -\left(y + z\right)\right)}
\]
Proof
(fma.f64 x (log.f64 y) (neg.f64 (+.f64 y z))): 0 points increase in error, 0 points decrease in error
(fma.f64 x (log.f64 y) (neg.f64 (Rewrite<= +-commutative_binary64 (+.f64 z y)))): 0 points increase in error, 0 points decrease in error
(Rewrite<= fma-neg_binary64 (-.f64 (*.f64 x (log.f64 y)) (+.f64 z y))): 2 points increase in error, 1 points decrease in error
(Rewrite<= associate--l-_binary64 (-.f64 (-.f64 (*.f64 x (log.f64 y)) z) y)): 0 points increase in error, 0 points decrease in error
Final simplification0.1
\[\leadsto \mathsf{fma}\left(x, \log y, \left(-z\right) - y\right)
\]