Initial program 33.8
\[\frac{x \cdot x}{y \cdot y} + \frac{z \cdot z}{t \cdot t}
\]
Taylor expanded in x around 0 33.8
\[\leadsto \color{blue}{\frac{{x}^{2}}{{y}^{2}} + \frac{{z}^{2}}{{t}^{2}}}
\]
Simplified0.4
\[\leadsto \color{blue}{\mathsf{fma}\left(\frac{x}{y}, \frac{x}{y}, \frac{z}{t} \cdot \frac{z}{t}\right)}
\]
Proof
(fma.f64 (/.f64 x y) (/.f64 x y) (*.f64 (/.f64 z t) (/.f64 z t))): 0 points increase in error, 0 points decrease in error
(fma.f64 (/.f64 x y) (/.f64 x y) (Rewrite<= times-frac_binary64 (/.f64 (*.f64 z z) (*.f64 t t)))): 91 points increase in error, 21 points decrease in error
(fma.f64 (/.f64 x y) (/.f64 x y) (/.f64 (Rewrite<= unpow2_binary64 (pow.f64 z 2)) (*.f64 t t))): 0 points increase in error, 0 points decrease in error
(fma.f64 (/.f64 x y) (/.f64 x y) (/.f64 (pow.f64 z 2) (Rewrite<= unpow2_binary64 (pow.f64 t 2)))): 0 points increase in error, 0 points decrease in error
(Rewrite<= fma-def_binary64 (+.f64 (*.f64 (/.f64 x y) (/.f64 x y)) (/.f64 (pow.f64 z 2) (pow.f64 t 2)))): 1 points increase in error, 0 points decrease in error
(+.f64 (Rewrite<= times-frac_binary64 (/.f64 (*.f64 x x) (*.f64 y y))) (/.f64 (pow.f64 z 2) (pow.f64 t 2))): 71 points increase in error, 8 points decrease in error
(+.f64 (/.f64 (Rewrite<= unpow2_binary64 (pow.f64 x 2)) (*.f64 y y)) (/.f64 (pow.f64 z 2) (pow.f64 t 2))): 0 points increase in error, 0 points decrease in error
(+.f64 (/.f64 (pow.f64 x 2) (Rewrite<= unpow2_binary64 (pow.f64 y 2))) (/.f64 (pow.f64 z 2) (pow.f64 t 2))): 0 points increase in error, 0 points decrease in error
Applied egg-rr0.4
\[\leadsto \mathsf{fma}\left(\frac{x}{y}, \frac{x}{y}, \color{blue}{\frac{\frac{z}{t}}{\frac{t}{z}}}\right)
\]
Final simplification0.4
\[\leadsto \mathsf{fma}\left(\frac{x}{y}, \frac{x}{y}, \frac{\frac{z}{t}}{\frac{t}{z}}\right)
\]