Initial program 12.9
\[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 tan-quot0.2
\[\leadsto x + \left(\frac{\tan y + \tan z}{1 - \color{blue}{\frac{\sin y}{\cos y}} \cdot \tan z} - \tan a\right)\]
Applied associate-*l/0.2
\[\leadsto x + \left(\frac{\tan y + \tan z}{1 - \color{blue}{\frac{\sin y \cdot \tan z}{\cos y}}} - \tan a\right)\]
- Using strategy
rm Applied add-cube-cbrt0.3
\[\leadsto x + \left(\frac{\tan y + \tan z}{1 - \frac{\sin y \cdot \tan z}{\cos y}} - \color{blue}{\left(\sqrt[3]{\tan a} \cdot \sqrt[3]{\tan a}\right) \cdot \sqrt[3]{\tan a}}\right)\]
Applied flip--0.3
\[\leadsto x + \left(\frac{\tan y + \tan z}{\color{blue}{\frac{1 \cdot 1 - \frac{\sin y \cdot \tan z}{\cos y} \cdot \frac{\sin y \cdot \tan z}{\cos y}}{1 + \frac{\sin y \cdot \tan z}{\cos y}}}} - \left(\sqrt[3]{\tan a} \cdot \sqrt[3]{\tan a}\right) \cdot \sqrt[3]{\tan a}\right)\]
Applied associate-/r/0.3
\[\leadsto x + \left(\color{blue}{\frac{\tan y + \tan z}{1 \cdot 1 - \frac{\sin y \cdot \tan z}{\cos y} \cdot \frac{\sin y \cdot \tan z}{\cos y}} \cdot \left(1 + \frac{\sin y \cdot \tan z}{\cos y}\right)} - \left(\sqrt[3]{\tan a} \cdot \sqrt[3]{\tan a}\right) \cdot \sqrt[3]{\tan a}\right)\]
Applied prod-diff0.3
\[\leadsto x + \color{blue}{\left((\left(\frac{\tan y + \tan z}{1 \cdot 1 - \frac{\sin y \cdot \tan z}{\cos y} \cdot \frac{\sin y \cdot \tan z}{\cos y}}\right) \cdot \left(1 + \frac{\sin y \cdot \tan z}{\cos y}\right) + \left(-\sqrt[3]{\tan a} \cdot \left(\sqrt[3]{\tan a} \cdot \sqrt[3]{\tan a}\right)\right))_* + (\left(-\sqrt[3]{\tan a}\right) \cdot \left(\sqrt[3]{\tan a} \cdot \sqrt[3]{\tan a}\right) + \left(\sqrt[3]{\tan a} \cdot \left(\sqrt[3]{\tan a} \cdot \sqrt[3]{\tan a}\right)\right))_*\right)}\]
Simplified0.2
\[\leadsto x + \left(\color{blue}{\left(\frac{(\left(\tan y + \tan z\right) \cdot \left(\frac{\tan z}{\frac{\cos y}{\sin y}}\right) + \left(\tan y + \tan z\right))_*}{(\left(\frac{\tan z}{\frac{\cos y}{\sin y}}\right) \cdot \left(\frac{\sin y}{\cos y} \cdot \left(-\tan z\right)\right) + 1)_*} - \tan a\right)} + (\left(-\sqrt[3]{\tan a}\right) \cdot \left(\sqrt[3]{\tan a} \cdot \sqrt[3]{\tan a}\right) + \left(\sqrt[3]{\tan a} \cdot \left(\sqrt[3]{\tan a} \cdot \sqrt[3]{\tan a}\right)\right))_*\right)\]
Simplified0.2
\[\leadsto x + \left(\left(\frac{(\left(\tan y + \tan z\right) \cdot \left(\frac{\tan z}{\frac{\cos y}{\sin y}}\right) + \left(\tan y + \tan z\right))_*}{(\left(\frac{\tan z}{\frac{\cos y}{\sin y}}\right) \cdot \left(\frac{\sin y}{\cos y} \cdot \left(-\tan z\right)\right) + 1)_*} - \tan a\right) + \color{blue}{0}\right)\]
Final simplification0.2
\[\leadsto x + \left(\frac{(\left(\tan y + \tan z\right) \cdot \left(\frac{\tan z}{\frac{\cos y}{\sin y}}\right) + \left(\tan y + \tan z\right))_*}{(\left(\frac{\tan z}{\frac{\cos y}{\sin y}}\right) \cdot \left(\frac{\sin y}{\cos y} \cdot \left(-\tan z\right)\right) + 1)_*} - \tan a\right)\]