Initial program 0.0
\[x \cdot \left(x \cdot x\right) + x \cdot x
\]
Simplified0.0
\[\leadsto \color{blue}{x \cdot \mathsf{fma}\left(x, x, x\right)}
\]
Proof
(*.f64 x (fma.f64 x x x)): 0 points increase in error, 0 points decrease in error
(*.f64 x (Rewrite<= fma-def_binary64 (+.f64 (*.f64 x x) x))): 0 points increase in error, 1 points decrease in error
(Rewrite<= distribute-lft-out_binary64 (+.f64 (*.f64 x (*.f64 x x)) (*.f64 x x))): 4 points increase in error, 1 points decrease in error
Final simplification0.0
\[\leadsto x \cdot \mathsf{fma}\left(x, x, x\right)
\]