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