Initial program 13.4
\[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))_*}\]
Taylor expanded around inf 0.2
\[\leadsto 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 + \color{blue}{\frac{\sin z \cdot \sin y}{\cos z \cdot \cos y}}\right) + \left(-\tan a\right))_*\]
Applied simplify0.3
\[\leadsto \color{blue}{(\left(\frac{\tan z + \tan y}{1 - \left(\tan y \cdot \tan z\right) \cdot \left(\tan y \cdot \tan z\right)}\right) \cdot \left((\left(\frac{\sin z}{\cos z}\right) \cdot \left(\frac{\sin y}{\cos y}\right) + 1)_*\right) + \left(x - \tan a\right))_*}\]