Initial program 13.2
\[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 add-log-exp0.2
\[\leadsto x + \left(\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} - \color{blue}{\log \left(e^{\tan a}\right)}\right)\]
Applied add-log-exp0.3
\[\leadsto x + \left(\color{blue}{\log \left(e^{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z}}\right)} - \log \left(e^{\tan a}\right)\right)\]
Applied diff-log0.3
\[\leadsto x + \color{blue}{\log \left(\frac{e^{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z}}}{e^{\tan a}}\right)}\]
Applied add-log-exp0.3
\[\leadsto \color{blue}{\log \left(e^{x}\right)} + \log \left(\frac{e^{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z}}}{e^{\tan a}}\right)\]
Applied sum-log0.3
\[\leadsto \color{blue}{\log \left(e^{x} \cdot \frac{e^{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z}}}{e^{\tan a}}\right)}\]
Simplified0.3
\[\leadsto \log \color{blue}{\left(e^{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \left(x - \tan a\right)}\right)}\]
- Using strategy
rm Applied *-un-lft-identity0.3
\[\leadsto \log \left(e^{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \left(x - \color{blue}{1 \cdot \tan a}\right)}\right)\]
Applied *-un-lft-identity0.3
\[\leadsto \log \left(e^{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \left(\color{blue}{1 \cdot x} - 1 \cdot \tan a\right)}\right)\]
Applied distribute-lft-out--0.3
\[\leadsto \log \left(e^{\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \color{blue}{1 \cdot \left(x - \tan a\right)}}\right)\]
Applied *-un-lft-identity0.3
\[\leadsto \log \left(e^{\color{blue}{1 \cdot \frac{\tan y + \tan z}{1 - \tan y \cdot \tan z}} + 1 \cdot \left(x - \tan a\right)}\right)\]
Applied distribute-lft-out0.3
\[\leadsto \log \left(e^{\color{blue}{1 \cdot \left(\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \left(x - \tan a\right)\right)}}\right)\]
Applied exp-prod0.3
\[\leadsto \log \color{blue}{\left({\left(e^{1}\right)}^{\left(\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \left(x - \tan a\right)\right)}\right)}\]
Simplified0.3
\[\leadsto \log \left({\color{blue}{e}}^{\left(\frac{\tan y + \tan z}{1 - \tan y \cdot \tan z} + \left(x - \tan a\right)\right)}\right)\]
Final simplification0.3
\[\leadsto \log \left({e}^{\left(\left(x - \tan a\right) + \frac{\tan y + \tan z}{1 - \tan z \cdot \tan y}\right)}\right)\]