Initial program 1.4
\[\left|\frac{x + 4}{y} - \frac{x}{y} \cdot z\right|\]
- Using strategy
rm Applied add-cube-cbrt1.7
\[\leadsto \left|\frac{x + 4}{y} - \frac{x}{\color{blue}{\left(\sqrt[3]{y} \cdot \sqrt[3]{y}\right) \cdot \sqrt[3]{y}}} \cdot z\right|\]
Applied add-cube-cbrt1.8
\[\leadsto \left|\frac{x + 4}{y} - \frac{\color{blue}{\left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \sqrt[3]{x}}}{\left(\sqrt[3]{y} \cdot \sqrt[3]{y}\right) \cdot \sqrt[3]{y}} \cdot z\right|\]
Applied times-frac1.8
\[\leadsto \left|\frac{x + 4}{y} - \color{blue}{\left(\frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}} \cdot \frac{\sqrt[3]{x}}{\sqrt[3]{y}}\right)} \cdot z\right|\]
Applied associate-*l*0.6
\[\leadsto \left|\frac{x + 4}{y} - \color{blue}{\frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}} \cdot \left(\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right)}\right|\]
Applied add-sqr-sqrt31.8
\[\leadsto \left|\color{blue}{\sqrt{\frac{x + 4}{y}} \cdot \sqrt{\frac{x + 4}{y}}} - \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}} \cdot \left(\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right)\right|\]
Applied prod-diff31.8
\[\leadsto \left|\color{blue}{\mathsf{fma}\left(\sqrt{\frac{x + 4}{y}}, \sqrt{\frac{x + 4}{y}}, -\left(\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right) \cdot \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}}\right) + \mathsf{fma}\left(-\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z, \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}}, \left(\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right) \cdot \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}}\right)}\right|\]
Simplified0.6
\[\leadsto \left|\color{blue}{\mathsf{fma}\left(1, \frac{x + 4}{y}, -\left(\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right) \cdot \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}}\right)} + \mathsf{fma}\left(-\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z, \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}}, \left(\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right) \cdot \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}}\right)\right|\]
Simplified0.6
\[\leadsto \left|\mathsf{fma}\left(1, \frac{x + 4}{y}, -\left(\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right) \cdot \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}}\right) + \color{blue}{\frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}} \cdot \left(\left(-\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right) + \frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right)}\right|\]
Final simplification0.6
\[\leadsto \left|\mathsf{fma}\left(1, \frac{x + 4}{y}, -\left(\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right) \cdot \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}}\right) + \frac{\sqrt[3]{x} \cdot \sqrt[3]{x}}{\sqrt[3]{y} \cdot \sqrt[3]{y}} \cdot \left(\left(-\frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right) + \frac{\sqrt[3]{x}}{\sqrt[3]{y}} \cdot z\right)\right|\]