Initial program 13.3
\[\sqrt{0.5 \cdot \left(1 + \frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}\]
- Using strategy
rm Applied flip3-+13.3
\[\leadsto \sqrt{0.5 \cdot \color{blue}{\frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{1 \cdot 1 + \left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} - 1 \cdot \frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}}}\]
Simplified13.3
\[\leadsto \sqrt{0.5 \cdot \frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{\color{blue}{\mathsf{fma}\left(1, 1 - \frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}, \frac{{x}^{2}}{\mathsf{fma}\left(4 \cdot p, p, x \cdot x\right)}\right)}}}\]
- Using strategy
rm Applied add-cube-cbrt13.4
\[\leadsto \sqrt{0.5 \cdot \frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{\mathsf{fma}\left(1, 1 - \frac{x}{\color{blue}{\left(\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right) \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}}, \frac{{x}^{2}}{\mathsf{fma}\left(4 \cdot p, p, x \cdot x\right)}\right)}}\]
Applied add-cube-cbrt13.3
\[\leadsto \sqrt{0.5 \cdot \frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{\mathsf{fma}\left(1, 1 - \frac{\color{blue}{\left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \sqrt[3]{x}}}{\left(\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right) \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}, \frac{{x}^{2}}{\mathsf{fma}\left(4 \cdot p, p, x \cdot x\right)}\right)}}\]
Applied times-frac13.3
\[\leadsto \sqrt{0.5 \cdot \frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{\mathsf{fma}\left(1, 1 - \color{blue}{\frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}} \cdot \frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}}, \frac{{x}^{2}}{\mathsf{fma}\left(4 \cdot p, p, x \cdot x\right)}\right)}}\]
Applied add-cube-cbrt13.3
\[\leadsto \sqrt{0.5 \cdot \frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{\mathsf{fma}\left(1, \color{blue}{\left(\sqrt[3]{1} \cdot \sqrt[3]{1}\right) \cdot \sqrt[3]{1}} - \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}} \cdot \frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}, \frac{{x}^{2}}{\mathsf{fma}\left(4 \cdot p, p, x \cdot x\right)}\right)}}\]
Applied prod-diff13.3
\[\leadsto \sqrt{0.5 \cdot \frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{\mathsf{fma}\left(1, \color{blue}{\mathsf{fma}\left(\sqrt[3]{1} \cdot \sqrt[3]{1}, \sqrt[3]{1}, -\frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}} \cdot \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right) + \mathsf{fma}\left(-\frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}, \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}, \frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}} \cdot \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right)}, \frac{{x}^{2}}{\mathsf{fma}\left(4 \cdot p, p, x \cdot x\right)}\right)}}\]
Simplified13.3
\[\leadsto \sqrt{0.5 \cdot \frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{\mathsf{fma}\left(1, \color{blue}{\left(\left(\sqrt[3]{1} \cdot \sqrt[3]{1}\right) \cdot \sqrt[3]{1} - {\left(\frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right)}^{3}\right)} + \mathsf{fma}\left(-\frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}, \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}, \frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}} \cdot \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right), \frac{{x}^{2}}{\mathsf{fma}\left(4 \cdot p, p, x \cdot x\right)}\right)}}\]
Simplified13.3
\[\leadsto \sqrt{0.5 \cdot \frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{\mathsf{fma}\left(1, \left(\left(\sqrt[3]{1} \cdot \sqrt[3]{1}\right) \cdot \sqrt[3]{1} - {\left(\frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right)}^{3}\right) + \color{blue}{\frac{1}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}} \cdot \left(\left(-\frac{x}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right) + \frac{x}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right)}, \frac{{x}^{2}}{\mathsf{fma}\left(4 \cdot p, p, x \cdot x\right)}\right)}}\]
Final simplification13.3
\[\leadsto \sqrt{0.5 \cdot \frac{{1}^{3} + {\left(\frac{x}{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}\right)}^{3}}{\mathsf{fma}\left(1, \left(\left(\sqrt[3]{1} \cdot \sqrt[3]{1}\right) \cdot \sqrt[3]{1} - {\left(\frac{\sqrt[3]{x}}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right)}^{3}\right) + \frac{1}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}} \cdot \sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}} \cdot \left(\left(-\frac{x}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right) + \frac{x}{\sqrt[3]{\sqrt{\left(4 \cdot p\right) \cdot p + x \cdot x}}}\right), \frac{{x}^{2}}{\mathsf{fma}\left(4 \cdot p, p, x \cdot x\right)}\right)}}\]