Initial program 12.9
\[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 add-sqr-sqrt31.3
\[\leadsto x + \left(\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} - \color{blue}{\sqrt{\tan a} \cdot \sqrt{\tan a}}\right)\]
Applied flip3--31.3
\[\leadsto x + \left(\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)}}} - \sqrt{\tan a} \cdot \sqrt{\tan a}\right)\]
Applied associate-/r/31.3
\[\leadsto x + \left(\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)} - \sqrt{\tan a} \cdot \sqrt{\tan a}\right)\]
Applied prod-diff31.3
\[\leadsto x + \color{blue}{\left((\left(\frac{\tan y + \tan z}{{1}^{3} - {\left(\tan y \cdot \tan z\right)}^{3}}\right) \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{\tan a} \cdot \sqrt{\tan a}\right))_* + (\left(-\sqrt{\tan a}\right) \cdot \left(\sqrt{\tan a}\right) + \left(\sqrt{\tan a} \cdot \sqrt{\tan a}\right))_*\right)}\]
Simplified31.2
\[\leadsto x + \left(\color{blue}{\left(\frac{(\left((\left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right))_*\right) \cdot \left(\tan y + \tan z\right) + \left(\tan y + \tan z\right))_*}{1 - {\left(\tan z \cdot \tan y\right)}^{3}} - \tan a\right)} + (\left(-\sqrt{\tan a}\right) \cdot \left(\sqrt{\tan a}\right) + \left(\sqrt{\tan a} \cdot \sqrt{\tan a}\right))_*\right)\]
Simplified0.2
\[\leadsto x + \left(\left(\frac{(\left((\left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right))_*\right) \cdot \left(\tan y + \tan z\right) + \left(\tan y + \tan z\right))_*}{1 - {\left(\tan z \cdot \tan y\right)}^{3}} - \tan a\right) + \color{blue}{0}\right)\]
- Using strategy
rm Applied add-cbrt-cube0.2
\[\leadsto x + \left(\left(\frac{(\left((\left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right))_*\right) \cdot \left(\tan y + \tan z\right) + \left(\tan y + \tan z\right))_*}{1 - {\left(\tan z \cdot \color{blue}{\sqrt[3]{\left(\tan y \cdot \tan y\right) \cdot \tan y}}\right)}^{3}} - \tan a\right) + 0\right)\]
Applied add-cbrt-cube0.2
\[\leadsto x + \left(\left(\frac{(\left((\left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right))_*\right) \cdot \left(\tan y + \tan z\right) + \left(\tan y + \tan z\right))_*}{1 - {\left(\color{blue}{\sqrt[3]{\left(\tan z \cdot \tan z\right) \cdot \tan z}} \cdot \sqrt[3]{\left(\tan y \cdot \tan y\right) \cdot \tan y}\right)}^{3}} - \tan a\right) + 0\right)\]
Applied cbrt-unprod0.2
\[\leadsto x + \left(\left(\frac{(\left((\left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right))_*\right) \cdot \left(\tan y + \tan z\right) + \left(\tan y + \tan z\right))_*}{1 - {\color{blue}{\left(\sqrt[3]{\left(\left(\tan z \cdot \tan z\right) \cdot \tan z\right) \cdot \left(\left(\tan y \cdot \tan y\right) \cdot \tan y\right)}\right)}}^{3}} - \tan a\right) + 0\right)\]
Applied rem-cube-cbrt0.2
\[\leadsto x + \left(\left(\frac{(\left((\left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right))_*\right) \cdot \left(\tan y + \tan z\right) + \left(\tan y + \tan z\right))_*}{1 - \color{blue}{\left(\left(\tan z \cdot \tan z\right) \cdot \tan z\right) \cdot \left(\left(\tan y \cdot \tan y\right) \cdot \tan y\right)}} - \tan a\right) + 0\right)\]
Simplified0.2
\[\leadsto x + \left(\left(\frac{(\left((\left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right))_*\right) \cdot \left(\tan y + \tan z\right) + \left(\tan y + \tan z\right))_*}{1 - \color{blue}{{\left(\tan z\right)}^{3}} \cdot \left(\left(\tan y \cdot \tan y\right) \cdot \tan y\right)} - \tan a\right) + 0\right)\]
- Using strategy
rm Applied add-cube-cbrt0.2
\[\leadsto x + \left(\left(\frac{(\left((\left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right))_*\right) \cdot \left(\tan y + \tan z\right) + \left(\tan y + \tan z\right))_*}{1 - {\left(\tan z\right)}^{3} \cdot \left(\left(\color{blue}{\left(\left(\sqrt[3]{\tan y} \cdot \sqrt[3]{\tan y}\right) \cdot \sqrt[3]{\tan y}\right)} \cdot \tan y\right) \cdot \tan y\right)} - \tan a\right) + 0\right)\]
Applied associate-*l*0.2
\[\leadsto x + \left(\left(\frac{(\left((\left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right))_*\right) \cdot \left(\tan y + \tan z\right) + \left(\tan y + \tan z\right))_*}{1 - {\left(\tan z\right)}^{3} \cdot \left(\color{blue}{\left(\left(\sqrt[3]{\tan y} \cdot \sqrt[3]{\tan y}\right) \cdot \left(\sqrt[3]{\tan y} \cdot \tan y\right)\right)} \cdot \tan y\right)} - \tan a\right) + 0\right)\]
Final simplification0.2
\[\leadsto \left(\frac{(\left((\left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right) + \left(\tan y \cdot \tan z\right))_*\right) \cdot \left(\tan z + \tan y\right) + \left(\tan z + \tan y\right))_*}{1 - {\left(\tan z\right)}^{3} \cdot \left(\tan y \cdot \left(\left(\tan y \cdot \sqrt[3]{\tan y}\right) \cdot \left(\sqrt[3]{\tan y} \cdot \sqrt[3]{\tan y}\right)\right)\right)} - \tan a\right) + x\]