Initial program 0.2
\[\left({\left(a \cdot a + b \cdot b\right)}^{2} + 4 \cdot \left(b \cdot b\right)\right) - 1\]
Taylor expanded around 0 0.0
\[\leadsto \left(\color{blue}{\left(2 \cdot \left({a}^{2} \cdot {b}^{2}\right) + \left({b}^{4} + {a}^{4}\right)\right)} + 4 \cdot \left(b \cdot b\right)\right) - 1\]
Simplified0.0
\[\leadsto \left(\color{blue}{\left(2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right) + \left({b}^{4} + {a}^{4}\right)\right)} + 4 \cdot \left(b \cdot b\right)\right) - 1\]
- Using strategy
rm Applied add-log-exp_binary64_21630.0
\[\leadsto \left(\left(2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right) + \left({b}^{4} + {a}^{4}\right)\right) + 4 \cdot \left(b \cdot b\right)\right) - \color{blue}{\log \left(e^{1}\right)}\]
Applied add-log-exp_binary64_216312.5
\[\leadsto \left(\left(2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right) + \left({b}^{4} + {a}^{4}\right)\right) + \color{blue}{\log \left(e^{4 \cdot \left(b \cdot b\right)}\right)}\right) - \log \left(e^{1}\right)\]
Applied add-log-exp_binary64_216322.3
\[\leadsto \left(\left(2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right) + \left({b}^{4} + \color{blue}{\log \left(e^{{a}^{4}}\right)}\right)\right) + \log \left(e^{4 \cdot \left(b \cdot b\right)}\right)\right) - \log \left(e^{1}\right)\]
Applied add-log-exp_binary64_216322.4
\[\leadsto \left(\left(2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right) + \left(\color{blue}{\log \left(e^{{b}^{4}}\right)} + \log \left(e^{{a}^{4}}\right)\right)\right) + \log \left(e^{4 \cdot \left(b \cdot b\right)}\right)\right) - \log \left(e^{1}\right)\]
Applied sum-log_binary64_221522.4
\[\leadsto \left(\left(2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right) + \color{blue}{\log \left(e^{{b}^{4}} \cdot e^{{a}^{4}}\right)}\right) + \log \left(e^{4 \cdot \left(b \cdot b\right)}\right)\right) - \log \left(e^{1}\right)\]
Applied add-log-exp_binary64_216322.4
\[\leadsto \left(\left(\color{blue}{\log \left(e^{2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)}\right)} + \log \left(e^{{b}^{4}} \cdot e^{{a}^{4}}\right)\right) + \log \left(e^{4 \cdot \left(b \cdot b\right)}\right)\right) - \log \left(e^{1}\right)\]
Applied sum-log_binary64_221522.4
\[\leadsto \left(\color{blue}{\log \left(e^{2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)} \cdot \left(e^{{b}^{4}} \cdot e^{{a}^{4}}\right)\right)} + \log \left(e^{4 \cdot \left(b \cdot b\right)}\right)\right) - \log \left(e^{1}\right)\]
Applied sum-log_binary64_221522.4
\[\leadsto \color{blue}{\log \left(\left(e^{2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)} \cdot \left(e^{{b}^{4}} \cdot e^{{a}^{4}}\right)\right) \cdot e^{4 \cdot \left(b \cdot b\right)}\right)} - \log \left(e^{1}\right)\]
Applied diff-log_binary64_221622.4
\[\leadsto \color{blue}{\log \left(\frac{\left(e^{2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)} \cdot \left(e^{{b}^{4}} \cdot e^{{a}^{4}}\right)\right) \cdot e^{4 \cdot \left(b \cdot b\right)}}{e^{1}}\right)}\]
Simplified22.4
\[\leadsto \log \color{blue}{\left(e^{\left(b \cdot b\right) \cdot \left(2 \cdot \left(a \cdot a\right) + \left(4 + b \cdot b\right)\right) + \left({a}^{4} - 1\right)}\right)}\]
- Using strategy
rm Applied exp-sum_binary64_217022.4
\[\leadsto \log \color{blue}{\left(e^{\left(b \cdot b\right) \cdot \left(2 \cdot \left(a \cdot a\right) + \left(4 + b \cdot b\right)\right)} \cdot e^{{a}^{4} - 1}\right)}\]
Applied log-prod_binary64_221022.4
\[\leadsto \color{blue}{\log \left(e^{\left(b \cdot b\right) \cdot \left(2 \cdot \left(a \cdot a\right) + \left(4 + b \cdot b\right)\right)}\right) + \log \left(e^{{a}^{4} - 1}\right)}\]
Simplified12.2
\[\leadsto \color{blue}{\left(\left(b \cdot b\right) \cdot \left(2 \cdot \left(a \cdot a\right) + 4\right) + {b}^{4}\right)} + \log \left(e^{{a}^{4} - 1}\right)\]
Simplified0.0
\[\leadsto \left(\left(b \cdot b\right) \cdot \left(2 \cdot \left(a \cdot a\right) + 4\right) + {b}^{4}\right) + \color{blue}{\left({a}^{4} - 1\right)}\]
Final simplification0.0
\[\leadsto \left(\left(b \cdot b\right) \cdot \left(2 \cdot \left(a \cdot a\right) + 4\right) + {b}^{4}\right) + \left({a}^{4} - 1\right)\]