Initial program 13.1
\[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-log-exp0.2
\[\leadsto x + \left(\frac{\tan y + \tan z}{1 - \color{blue}{\log \left(e^{\tan y \cdot \tan z}\right)}} - \tan a\right)\]
- Using strategy
rm Applied *-un-lft-identity0.2
\[\leadsto x + \left(\frac{\tan y + \tan z}{1 - \log \left(e^{\tan y \cdot \tan z}\right)} - \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 - \log \left(e^{\tan y \cdot \tan z}\right)}} - 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 - \log \left(e^{\tan y \cdot \tan z}\right)}\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 - \log \left(e^{\tan y \cdot \tan z}\right)}\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 - \log \left(e^{\tan y \cdot \tan z}\right)}\right) + \left(-\tan a \cdot 1\right))_*\right) + \color{blue}{(-1 \cdot \left(\tan a\right) + \left(\tan a\right))_*}\]
Final simplification0.2
\[\leadsto \left((\left(\tan y + \tan z\right) \cdot \left(\frac{1}{1 - \log \left(e^{\tan z \cdot \tan y}\right)}\right) + \left(-\tan a\right))_* + x\right) + (-1 \cdot \left(\tan a\right) + \left(\tan a\right))_*\]