Initial program 45.0
\[\mathsf{fma}\left(x, y, z\right) - \left(1 + \left(x \cdot y + z\right)\right)\]
- Using strategy
rm Applied flip-+45.7
\[\leadsto \mathsf{fma}\left(x, y, z\right) - \left(1 + \color{blue}{\frac{\left(x \cdot y\right) \cdot \left(x \cdot y\right) - z \cdot z}{x \cdot y - z}}\right)\]
- Using strategy
rm Applied div-sub45.7
\[\leadsto \mathsf{fma}\left(x, y, z\right) - \left(1 + \color{blue}{\left(\frac{\left(x \cdot y\right) \cdot \left(x \cdot y\right)}{x \cdot y - z} - \frac{z \cdot z}{x \cdot y - z}\right)}\right)\]
Applied associate-+r-45.7
\[\leadsto \mathsf{fma}\left(x, y, z\right) - \color{blue}{\left(\left(1 + \frac{\left(x \cdot y\right) \cdot \left(x \cdot y\right)}{x \cdot y - z}\right) - \frac{z \cdot z}{x \cdot y - z}\right)}\]
Applied associate--r-45.7
\[\leadsto \color{blue}{\left(\mathsf{fma}\left(x, y, z\right) - \left(1 + \frac{\left(x \cdot y\right) \cdot \left(x \cdot y\right)}{x \cdot y - z}\right)\right) + \frac{z \cdot z}{x \cdot y - z}}\]
- Using strategy
rm Applied *-un-lft-identity45.7
\[\leadsto \left(\mathsf{fma}\left(x, y, z\right) - \left(1 + \frac{\left(x \cdot y\right) \cdot \left(x \cdot y\right)}{\color{blue}{1 \cdot \left(x \cdot y - z\right)}}\right)\right) + \frac{z \cdot z}{x \cdot y - z}\]
Applied times-frac45.4
\[\leadsto \left(\mathsf{fma}\left(x, y, z\right) - \left(1 + \color{blue}{\frac{x \cdot y}{1} \cdot \frac{x \cdot y}{x \cdot y - z}}\right)\right) + \frac{z \cdot z}{x \cdot y - z}\]
Simplified45.4
\[\leadsto \left(\mathsf{fma}\left(x, y, z\right) - \left(1 + \color{blue}{\left(x \cdot y\right)} \cdot \frac{x \cdot y}{x \cdot y - z}\right)\right) + \frac{z \cdot z}{x \cdot y - z}\]
- Using strategy
rm Applied *-un-lft-identity45.4
\[\leadsto \left(\mathsf{fma}\left(x, y, z\right) - \left(1 + \left(x \cdot y\right) \cdot \frac{x \cdot y}{x \cdot y - z}\right)\right) + \frac{z \cdot z}{\color{blue}{1 \cdot \left(x \cdot y - z\right)}}\]
Applied times-frac44.9
\[\leadsto \left(\mathsf{fma}\left(x, y, z\right) - \left(1 + \left(x \cdot y\right) \cdot \frac{x \cdot y}{x \cdot y - z}\right)\right) + \color{blue}{\frac{z}{1} \cdot \frac{z}{x \cdot y - z}}\]
Simplified44.9
\[\leadsto \left(\mathsf{fma}\left(x, y, z\right) - \left(1 + \left(x \cdot y\right) \cdot \frac{x \cdot y}{x \cdot y - z}\right)\right) + \color{blue}{z} \cdot \frac{z}{x \cdot y - z}\]
Final simplification44.9
\[\leadsto \left(\mathsf{fma}\left(x, y, z\right) - \left(1 + \left(x \cdot y\right) \cdot \frac{x \cdot y}{x \cdot y - z}\right)\right) + z \cdot \frac{z}{x \cdot y - z}\]