Initial program 13.6
\[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 *-un-lft-identity0.2
\[\leadsto x + \left(\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} - \color{blue}{1 \cdot \tan a}\right)\]
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)}}} - 1 \cdot \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)} - 1 \cdot \tan a\right)\]
Applied prod-diff0.2
\[\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(-\tan a \cdot 1\right))_* + (\left(-\tan a\right) \cdot 1 + \left(\tan a \cdot 1\right))_*\right)}\]
Applied simplify0.2
\[\leadsto x + \left(\color{blue}{\left(\frac{(\left((\left(\tan z\right) \cdot \left(\tan y\right) + 1)_*\right) \cdot \left(\tan z \cdot \tan y\right) + 1)_* \cdot \left(\tan z + \tan y\right)}{1 - {\left(\tan z \cdot \tan y\right)}^{3}} - \tan a\right)} + (\left(-\tan a\right) \cdot 1 + \left(\tan a \cdot 1\right))_*\right)\]
Applied simplify0.2
\[\leadsto x + \left(\left(\frac{(\left((\left(\tan z\right) \cdot \left(\tan y\right) + 1)_*\right) \cdot \left(\tan z \cdot \tan y\right) + 1)_* \cdot \left(\tan z + \tan y\right)}{1 - {\left(\tan z \cdot \tan y\right)}^{3}} - \tan a\right) + \color{blue}{\left(\tan a - \tan a\right)}\right)\]