Initial program 0.4
\[\left(\left(\left(e + d\right) + c\right) + b\right) + a\]
- Using strategy
rm Applied add-log-exp0.4
\[\leadsto \left(\left(\left(e + d\right) + c\right) + b\right) + \color{blue}{\log \left(e^{a}\right)}\]
Applied add-log-exp0.4
\[\leadsto \left(\left(\left(e + d\right) + c\right) + \color{blue}{\log \left(e^{b}\right)}\right) + \log \left(e^{a}\right)\]
Applied add-log-exp0.4
\[\leadsto \left(\left(\left(e + d\right) + \color{blue}{\log \left(e^{c}\right)}\right) + \log \left(e^{b}\right)\right) + \log \left(e^{a}\right)\]
Applied add-log-exp0.4
\[\leadsto \left(\left(\left(e + \color{blue}{\log \left(e^{d}\right)}\right) + \log \left(e^{c}\right)\right) + \log \left(e^{b}\right)\right) + \log \left(e^{a}\right)\]
Applied add-log-exp0.4
\[\leadsto \left(\left(\left(\color{blue}{\log \left(e^{e}\right)} + \log \left(e^{d}\right)\right) + \log \left(e^{c}\right)\right) + \log \left(e^{b}\right)\right) + \log \left(e^{a}\right)\]
Applied sum-log0.4
\[\leadsto \left(\left(\color{blue}{\log \left(e^{e} \cdot e^{d}\right)} + \log \left(e^{c}\right)\right) + \log \left(e^{b}\right)\right) + \log \left(e^{a}\right)\]
Applied sum-log0.3
\[\leadsto \left(\color{blue}{\log \left(\left(e^{e} \cdot e^{d}\right) \cdot e^{c}\right)} + \log \left(e^{b}\right)\right) + \log \left(e^{a}\right)\]
Applied sum-log0.3
\[\leadsto \color{blue}{\log \left(\left(\left(e^{e} \cdot e^{d}\right) \cdot e^{c}\right) \cdot e^{b}\right)} + \log \left(e^{a}\right)\]
Applied sum-log0.0
\[\leadsto \color{blue}{\log \left(\left(\left(\left(e^{e} \cdot e^{d}\right) \cdot e^{c}\right) \cdot e^{b}\right) \cdot e^{a}\right)}\]
Simplified0.4
\[\leadsto \log \color{blue}{\left(e^{\left(\left(\left(c + e\right) + d\right) + a\right) + b}\right)}\]
- Using strategy
rm Applied associate-+l+0.3
\[\leadsto \log \left(e^{\color{blue}{\left(\left(c + e\right) + \left(d + a\right)\right)} + b}\right)\]
Applied associate-+l+0.2
\[\leadsto \log \left(e^{\color{blue}{\left(c + e\right) + \left(\left(d + a\right) + b\right)}}\right)\]
Applied exp-sum0.3
\[\leadsto \log \color{blue}{\left(e^{c + e} \cdot e^{\left(d + a\right) + b}\right)}\]
Final simplification0.3
\[\leadsto \log \left(e^{e + c} \cdot e^{b + \left(a + d\right)}\right)\]