Initial program 13.1
\[x + \left(\tan \left(y + z\right) - \tan a\right)\]
- Using strategy
rm Applied tan-quot13.1
\[\leadsto x + \left(\tan \left(y + z\right) - \color{blue}{\frac{\sin a}{\cos a}}\right)\]
Applied tan-sum0.2
\[\leadsto x + \left(\color{blue}{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z}} - \frac{\sin a}{\cos a}\right)\]
Applied frac-sub0.2
\[\leadsto x + \color{blue}{\frac{\left(\tan y + \tan z\right) \cdot \cos a - \left(1 - \tan y \cdot \tan z\right) \cdot \sin a}{\left(1 - \tan y \cdot \tan z\right) \cdot \cos a}}\]
Simplified0.2
\[\leadsto x + \frac{\color{blue}{(\left(\tan y + \tan z\right) \cdot \left(\cos a\right) + \left((\left(\tan y\right) \cdot \left(\tan z\right) + -1)_* \cdot \sin a\right))_*}}{\left(1 - \tan y \cdot \tan z\right) \cdot \cos a}\]
- Using strategy
rm Applied *-un-lft-identity0.2
\[\leadsto x + \frac{\color{blue}{1 \cdot (\left(\tan y + \tan z\right) \cdot \left(\cos a\right) + \left((\left(\tan y\right) \cdot \left(\tan z\right) + -1)_* \cdot \sin a\right))_*}}{\left(1 - \tan y \cdot \tan z\right) \cdot \cos a}\]
Applied times-frac0.2
\[\leadsto x + \color{blue}{\frac{1}{1 - \tan y \cdot \tan z} \cdot \frac{(\left(\tan y + \tan z\right) \cdot \left(\cos a\right) + \left((\left(\tan y\right) \cdot \left(\tan z\right) + -1)_* \cdot \sin a\right))_*}{\cos a}}\]
- Using strategy
rm Applied add-log-exp0.3
\[\leadsto \color{blue}{\log \left(e^{x + \frac{1}{1 - \tan y \cdot \tan z} \cdot \frac{(\left(\tan y + \tan z\right) \cdot \left(\cos a\right) + \left((\left(\tan y\right) \cdot \left(\tan z\right) + -1)_* \cdot \sin a\right))_*}{\cos a}}\right)}\]
- Using strategy
rm Applied clear-num0.3
\[\leadsto \log \left(e^{x + \frac{1}{1 - \tan y \cdot \tan z} \cdot \color{blue}{\frac{1}{\frac{\cos a}{(\left(\tan y + \tan z\right) \cdot \left(\cos a\right) + \left((\left(\tan y\right) \cdot \left(\tan z\right) + -1)_* \cdot \sin a\right))_*}}}}\right)\]
Final simplification0.3
\[\leadsto \log \left(e^{x + \frac{1}{\frac{\cos a}{(\left(\tan y + \tan z\right) \cdot \left(\cos a\right) + \left(\sin a \cdot (\left(\tan y\right) \cdot \left(\tan z\right) + -1)_*\right))_*}} \cdot \frac{1}{1 - \tan y \cdot \tan z}}\right)\]