Initial program 59.9
\[\frac{1}{x} - \frac{1}{\tan x}\]
Taylor expanded around 0 0.3
\[\leadsto \color{blue}{0.3333333333333333148296162562473909929395 \cdot x + \left(0.02222222222222222307030925492199457949027 \cdot {x}^{3} + 0.002116402116402116544841005563171165704262 \cdot {x}^{5}\right)}\]
Simplified0.3
\[\leadsto \color{blue}{\mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, x \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right) + 0.3333333333333333148296162562473909929395\right)\right)}\]
- Using strategy
rm Applied flip3-+1.2
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, x \cdot \color{blue}{\frac{{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right)}^{3} + {0.3333333333333333148296162562473909929395}^{3}}{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}\right)\]
Applied associate-*r/1.1
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \color{blue}{\frac{x \cdot \left({\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right)}^{3} + {0.3333333333333333148296162562473909929395}^{3}\right)}{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}\right)\]
Simplified0.3
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{\color{blue}{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right) \cdot x}}{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}\right)\]
- Using strategy
rm Applied add-sqr-sqrt0.3
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right) \cdot x}{\color{blue}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)} \cdot \sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}\right)\]
Applied times-frac0.2
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \color{blue}{\frac{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right)}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}} \cdot \frac{x}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}\right)\]
- Using strategy
rm Applied add-cube-cbrt0.2
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right)}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}} \cdot \frac{x}{\sqrt{\color{blue}{\left(\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)} \cdot \sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}\right) \cdot \sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}}\right)\]
Applied sqrt-prod0.2
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right)}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}} \cdot \frac{x}{\color{blue}{\sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)} \cdot \sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}} \cdot \sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}}\right)\]
Applied *-un-lft-identity0.2
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right)}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}} \cdot \frac{\color{blue}{1 \cdot x}}{\sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)} \cdot \sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}} \cdot \sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}\right)\]
Applied times-frac0.3
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right)}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}} \cdot \color{blue}{\left(\frac{1}{\sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)} \cdot \sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}} \cdot \frac{x}{\sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}\right)}\right)\]
Applied associate-*r*0.3
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \color{blue}{\left(\frac{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right)}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}} \cdot \frac{1}{\sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)} \cdot \sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}\right) \cdot \frac{x}{\sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}}\right)\]
Simplified0.3
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \color{blue}{\frac{\frac{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right)}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}} \cdot 1}{\left|\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}\right|}} \cdot \frac{x}{\sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}\right)\]
Final simplification0.3
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{x}{\sqrt{\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}} \cdot \frac{\frac{\mathsf{fma}\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right), \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right)}{\sqrt{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}{\left|\sqrt[3]{\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) + \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 - \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot 0.3333333333333333148296162562473909929395\right)}\right|}\right)\]