Initial program 13.4
\[x + \left(\tan \left(y + z\right) - \tan a\right)\]
- Using strategy
rm Applied tan-sum0.2
\[\leadsto x + \left(\color{blue}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z}} - \tan a\right)\]
- Using strategy
rm Applied flip--0.2
\[\leadsto x + \color{blue}{\frac{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} \cdot \frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}}\]
- Using strategy
rm Applied *-un-lft-identity0.2
\[\leadsto x + \frac{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} \cdot \frac{\tan y + \tan z}{\color{blue}{1 \cdot \left(1 - \tan y \cdot \tan z\right)}} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied add-sqr-sqrt31.9
\[\leadsto x + \frac{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} \cdot \frac{\color{blue}{\sqrt{\tan y + \tan z} \cdot \sqrt{\tan y + \tan z}}}{1 \cdot \left(1 - \tan y \cdot \tan z\right)} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied times-frac31.9
\[\leadsto x + \frac{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} \cdot \color{blue}{\left(\frac{\sqrt{\tan y + \tan z}}{1} \cdot \frac{\sqrt{\tan y + \tan z}}{1 - \tan y \cdot \tan z}\right)} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied *-un-lft-identity31.9
\[\leadsto x + \frac{\frac{\tan y + \tan z}{\color{blue}{1 \cdot \left(1 - \tan y \cdot \tan z\right)}} \cdot \left(\frac{\sqrt{\tan y + \tan z}}{1} \cdot \frac{\sqrt{\tan y + \tan z}}{1 - \tan y \cdot \tan z}\right) - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied add-sqr-sqrt32.0
\[\leadsto x + \frac{\frac{\color{blue}{\sqrt{\tan y + \tan z} \cdot \sqrt{\tan y + \tan z}}}{1 \cdot \left(1 - \tan y \cdot \tan z\right)} \cdot \left(\frac{\sqrt{\tan y + \tan z}}{1} \cdot \frac{\sqrt{\tan y + \tan z}}{1 - \tan y \cdot \tan z}\right) - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied times-frac32.0
\[\leadsto x + \frac{\color{blue}{\left(\frac{\sqrt{\tan y + \tan z}}{1} \cdot \frac{\sqrt{\tan y + \tan z}}{1 - \tan y \cdot \tan z}\right)} \cdot \left(\frac{\sqrt{\tan y + \tan z}}{1} \cdot \frac{\sqrt{\tan y + \tan z}}{1 - \tan y \cdot \tan z}\right) - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied swap-sqr32.0
\[\leadsto x + \frac{\color{blue}{\left(\frac{\sqrt{\tan y + \tan z}}{1} \cdot \frac{\sqrt{\tan y + \tan z}}{1}\right) \cdot \left(\frac{\sqrt{\tan y + \tan z}}{1 - \tan y \cdot \tan z} \cdot \frac{\sqrt{\tan y + \tan z}}{1 - \tan y \cdot \tan z}\right)} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Simplified31.9
\[\leadsto x + \frac{\color{blue}{\left(\tan y + \tan z\right)} \cdot \left(\frac{\sqrt{\tan y + \tan z}}{1 - \tan y \cdot \tan z} \cdot \frac{\sqrt{\tan y + \tan z}}{1 - \tan y \cdot \tan z}\right) - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Simplified0.2
\[\leadsto x + \frac{\left(\tan y + \tan z\right) \cdot \color{blue}{\frac{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z}}{1 - \tan y \cdot \tan z}} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
- Using strategy
rm Applied add-cube-cbrt0.3
\[\leadsto x + \frac{\left(\tan y + \tan z\right) \cdot \frac{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z}}{\color{blue}{\left(\sqrt[3]{1 - \tan y \cdot \tan z} \cdot \sqrt[3]{1 - \tan y \cdot \tan z}\right) \cdot \sqrt[3]{1 - \tan y \cdot \tan z}}} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied flip3--0.3
\[\leadsto x + \frac{\left(\tan y + \tan z\right) \cdot \frac{\frac{\tan y + \tan z}{\color{blue}{\frac{{1}^{3} - {\left(\tan y \cdot \tan z\right)}^{3}}{1 \cdot 1 + \left(\left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right) + 1 \cdot \left(\tan y \cdot \tan z\right)\right)}}}}{\left(\sqrt[3]{1 - \tan y \cdot \tan z} \cdot \sqrt[3]{1 - \tan y \cdot \tan z}\right) \cdot \sqrt[3]{1 - \tan y \cdot \tan z}} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied associate-/r/0.3
\[\leadsto x + \frac{\left(\tan y + \tan z\right) \cdot \frac{\color{blue}{\frac{\tan y + \tan z}{{1}^{3} - {\left(\tan y \cdot \tan z\right)}^{3}} \cdot \left(1 \cdot 1 + \left(\left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right) + 1 \cdot \left(\tan y \cdot \tan z\right)\right)\right)}}{\left(\sqrt[3]{1 - \tan y \cdot \tan z} \cdot \sqrt[3]{1 - \tan y \cdot \tan z}\right) \cdot \sqrt[3]{1 - \tan y \cdot \tan z}} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied times-frac0.3
\[\leadsto x + \frac{\left(\tan y + \tan z\right) \cdot \color{blue}{\left(\frac{\frac{\tan y + \tan z}{{1}^{3} - {\left(\tan y \cdot \tan z\right)}^{3}}}{\sqrt[3]{1 - \tan y \cdot \tan z} \cdot \sqrt[3]{1 - \tan y \cdot \tan z}} \cdot \frac{1 \cdot 1 + \left(\left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right) + 1 \cdot \left(\tan y \cdot \tan z\right)\right)}{\sqrt[3]{1 - \tan y \cdot \tan z}}\right)} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Applied associate-*r*0.3
\[\leadsto x + \frac{\color{blue}{\left(\left(\tan y + \tan z\right) \cdot \frac{\frac{\tan y + \tan z}{{1}^{3} - {\left(\tan y \cdot \tan z\right)}^{3}}}{\sqrt[3]{1 - \tan y \cdot \tan z} \cdot \sqrt[3]{1 - \tan y \cdot \tan z}}\right) \cdot \frac{1 \cdot 1 + \left(\left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right) + 1 \cdot \left(\tan y \cdot \tan z\right)\right)}{\sqrt[3]{1 - \tan y \cdot \tan z}}} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Simplified0.3
\[\leadsto x + \frac{\color{blue}{\left(\left(\tan z + \tan y\right) \cdot \frac{\frac{\tan z + \tan y}{1 - {\left(\tan y \cdot \tan z\right)}^{3}}}{\sqrt[3]{1 - \tan y \cdot \tan z} \cdot \sqrt[3]{1 - \tan y \cdot \tan z}}\right)} \cdot \frac{1 \cdot 1 + \left(\left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right) + 1 \cdot \left(\tan y \cdot \tan z\right)\right)}{\sqrt[3]{1 - \tan y \cdot \tan z}} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a}\]
Final simplification0.3
\[\leadsto \frac{\left(\left(\tan z + \tan y\right) \cdot \frac{\frac{\tan z + \tan y}{1 - {\left(\tan y \cdot \tan z\right)}^{3}}}{\sqrt[3]{1 - \tan y \cdot \tan z} \cdot \sqrt[3]{1 - \tan y \cdot \tan z}}\right) \cdot \frac{\left(\left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right) + \tan y \cdot \tan z\right) + 1}{\sqrt[3]{1 - \tan y \cdot \tan z}} - \tan a \cdot \tan a}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \tan a} + x\]