Initial program 0.0
\[x \cdot x + y \cdot y
\]
Taylor expanded in x around 0 0.0
\[\leadsto \color{blue}{{y}^{2} + {x}^{2}}
\]
Simplified0.0
\[\leadsto \color{blue}{\mathsf{fma}\left(y, y, x \cdot x\right)}
\]
Proof
(fma.f64 y y (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(Rewrite=> fma-udef_binary64 (+.f64 (*.f64 y y) (*.f64 x x))): 1 points increase in error, 0 points decrease in error
(+.f64 (Rewrite<= unpow2_binary64 (pow.f64 y 2)) (*.f64 x x)): 0 points increase in error, 0 points decrease in error
(+.f64 (pow.f64 y 2) (Rewrite<= unpow2_binary64 (pow.f64 x 2))): 0 points increase in error, 0 points decrease in error
Final simplification0.0
\[\leadsto \mathsf{fma}\left(y, y, x \cdot x\right)
\]