Initial program 13.2
\[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 flip3--0.2
\[\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)}}} - \tan a\right)\]
Applied associate-/r/0.2
\[\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)} - \tan a\right)\]
Simplified0.2
\[\leadsto x + \left(\frac{\tan y + \tan z}{{1}^{3} - {\left(\tan y \cdot \tan z\right)}^{3}} \cdot \color{blue}{\left(\left(1 + \tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right)\right)} - \tan a\right)\]
Final simplification0.2
\[\leadsto \left(\frac{\tan y + \tan z}{1 - {\left(\tan z \cdot \tan y\right)}^{3}} \cdot \left(\left(1 + \tan z \cdot \tan y\right) + \left(\tan z \cdot \tan y\right) \cdot \left(\tan z \cdot \tan y\right)\right) - \tan a\right) + x\]