Initial program 13.7
\[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 flip--0.2
\[\leadsto x + \left(\frac{\tan y + \tan z}{\color{blue}{\frac{1 \cdot 1 - \left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right)}{1 + \tan y \cdot \tan z}}} - 1 \cdot \tan a\right)\]
Applied associate-/r/0.2
\[\leadsto x + \left(\color{blue}{\frac{\tan y + \tan z}{1 \cdot 1 - \left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right)} \cdot \left(1 + \tan y \cdot \tan z\right)} - 1 \cdot \tan a\right)\]
Applied prod-diff0.2
\[\leadsto x + \color{blue}{\left((\left(\frac{\tan y + \tan z}{1 \cdot 1 - \left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right)}\right) \cdot \left(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(\frac{\tan y + \tan z}{1 \cdot 1 - \left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right)}\right) \cdot \left(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(\frac{\tan y + \tan z}{1 \cdot 1 - \left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right)}\right) \cdot \left(1 + \tan y \cdot \tan z\right) + \left(-\tan a \cdot 1\right))_*\right) + \color{blue}{(-1 \cdot \left(\tan a\right) + \left(\tan a\right))_*}\]
- Using strategy
rm Applied associate-*r*0.2
\[\leadsto \left(x + (\left(\frac{\tan y + \tan z}{1 \cdot 1 - \color{blue}{\left(\left(\tan y \cdot \tan z\right) \cdot \tan y\right) \cdot \tan z}}\right) \cdot \left(1 + \tan y \cdot \tan z\right) + \left(-\tan a \cdot 1\right))_*\right) + (-1 \cdot \left(\tan a\right) + \left(\tan a\right))_*\]
Final simplification0.2
\[\leadsto (-1 \cdot \left(\tan a\right) + \left(\tan a\right))_* + \left((\left(\frac{\tan y + \tan z}{1 - \tan z \cdot \left(\tan y \cdot \left(\tan z \cdot \tan y\right)\right)}\right) \cdot \left(\tan z \cdot \tan y + 1\right) + \left(-\tan a\right))_* + x\right)\]