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