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 *-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 div-inv0.2
\[\leadsto x + \left(\color{blue}{\left(\tan y + \tan z\right) \cdot \frac{1}{1 - \tan y \cdot \tan z}} - 1 \cdot \tan a\right)\]
Applied prod-diff0.2
\[\leadsto x + \color{blue}{\left((\left(\tan y + \tan z\right) \cdot \left(\frac{1}{1 - \tan y \cdot \tan z}\right) + \left(-\tan a \cdot 1\right))_* + (\left(-\tan a\right) \cdot 1 + \left(\tan a \cdot 1\right))_*\right)}\]
Applied associate-+r+0.2
\[\leadsto \color{blue}{\left(x + (\left(\tan y + \tan z\right) \cdot \left(\frac{1}{1 - \tan y \cdot \tan z}\right) + \left(-\tan a \cdot 1\right))_*\right) + (\left(-\tan a\right) \cdot 1 + \left(\tan a \cdot 1\right))_*}\]
Simplified0.2
\[\leadsto \left(x + (\left(\tan y + \tan z\right) \cdot \left(\frac{1}{1 - \tan y \cdot \tan z}\right) + \left(-\tan a \cdot 1\right))_*\right) + \color{blue}{\tan a \cdot 0}\]
Final simplification0.2
\[\leadsto 0 \cdot \tan a + \left((\left(\tan y + \tan z\right) \cdot \left(\frac{1}{1 - \tan z \cdot \tan y}\right) + \left(-\tan a\right))_* + x\right)\]