Initial program 0.1
\[\left(x \cdot \log y - z\right) - y
\]
Simplified0.1
\[\leadsto \color{blue}{\mathsf{fma}\left(x, \log y, \left(-z\right) - y\right)}
\]
Proof
(fma.f64 x (log.f64 y) (-.f64 (neg.f64 z) y)): 0 points increase in error, 0 points decrease in error
(fma.f64 x (log.f64 y) (Rewrite=> sub-neg_binary64 (+.f64 (neg.f64 z) (neg.f64 y)))): 5 points increase in error, 0 points decrease in error
(fma.f64 x (log.f64 y) (Rewrite<= distribute-neg-in_binary64 (neg.f64 (+.f64 z y)))): 0 points increase in error, 5 points decrease in error
(Rewrite<= fma-neg_binary64 (-.f64 (*.f64 x (log.f64 y)) (+.f64 z y))): 0 points increase in error, 0 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)
\]