Initial program 33.3
\[\frac{x \cdot x}{y \cdot y} + \frac{z \cdot z}{t \cdot t}\]
Simplified18.7
\[\leadsto \color{blue}{\mathsf{fma}\left(\frac{z}{t}, \frac{z}{t}, \frac{x \cdot x}{y \cdot y}\right)}\]
- Using strategy
rm Applied add-sqr-sqrt18.8
\[\leadsto \color{blue}{\sqrt{\mathsf{fma}\left(\frac{z}{t}, \frac{z}{t}, \frac{x \cdot x}{y \cdot y}\right)} \cdot \sqrt{\mathsf{fma}\left(\frac{z}{t}, \frac{z}{t}, \frac{x \cdot x}{y \cdot y}\right)}}\]
Simplified18.7
\[\leadsto \color{blue}{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)} \cdot \sqrt{\mathsf{fma}\left(\frac{z}{t}, \frac{z}{t}, \frac{x \cdot x}{y \cdot y}\right)}\]
Simplified0.4
\[\leadsto \mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \color{blue}{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}\]
- Using strategy
rm Applied add-sqr-sqrt0.6
\[\leadsto \mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \color{blue}{\left(\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)} \cdot \sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}\right)}\]
- Using strategy
rm Applied add-sqr-sqrt0.6
\[\leadsto \mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \left(\sqrt{\color{blue}{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)} \cdot \sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}}} \cdot \sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}\right)\]
Applied sqrt-prod0.7
\[\leadsto \mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \left(\color{blue}{\left(\sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}} \cdot \sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}}\right)} \cdot \sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}\right)\]
Applied associate-*l*0.7
\[\leadsto \mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \color{blue}{\left(\sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}} \cdot \left(\sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}} \cdot \sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}\right)\right)}\]
Applied associate-*r*0.7
\[\leadsto \color{blue}{\left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}}\right) \cdot \left(\sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}} \cdot \sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}\right)}\]
- Using strategy
rm Applied pow1/20.7
\[\leadsto \left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}}\right) \cdot \left(\sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}} \cdot \color{blue}{{\left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)\right)}^{\frac{1}{2}}}\right)\]
Applied pow1/20.7
\[\leadsto \left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}}\right) \cdot \left(\sqrt{\color{blue}{{\left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)\right)}^{\frac{1}{2}}}} \cdot {\left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)\right)}^{\frac{1}{2}}\right)\]
Applied sqrt-pow10.6
\[\leadsto \left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}}\right) \cdot \left(\color{blue}{{\left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)\right)}^{\left(\frac{\frac{1}{2}}{2}\right)}} \cdot {\left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)\right)}^{\frac{1}{2}}\right)\]
Applied pow-prod-up0.5
\[\leadsto \left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}}\right) \cdot \color{blue}{{\left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)\right)}^{\left(\frac{\frac{1}{2}}{2} + \frac{1}{2}\right)}}\]
Simplified0.5
\[\leadsto \left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}}\right) \cdot {\left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)\right)}^{\color{blue}{\frac{3}{4}}}\]
Final simplification0.5
\[\leadsto \left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right) \cdot \sqrt{\sqrt{\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)}}\right) \cdot {\left(\mathsf{hypot}\left(\frac{z}{t}, \frac{x}{y}\right)\right)}^{\frac{3}{4}}\]