Initial program 0.2
\[\left({\left(a \cdot a + b \cdot b\right)}^{2} + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Taylor expanded around 0 0.0
\[\leadsto \left(\color{blue}{\left({b}^{4} + \left(2 \cdot \left({a}^{2} \cdot {b}^{2}\right) + {a}^{4}\right)\right)} + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Simplified0.2
\[\leadsto \left(\color{blue}{\left(\left(b \cdot b\right) \cdot \left(b \cdot b\right) + \left(\left(a \cdot a\right) \cdot \left(a \cdot a\right) + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right)} + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
- Using strategy
rm Applied pow10.2
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(b \cdot b\right) + \left(\left(a \cdot a\right) \cdot \left(a \cdot \color{blue}{{a}^{1}}\right) + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow10.2
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(b \cdot b\right) + \left(\left(a \cdot a\right) \cdot \left(\color{blue}{{a}^{1}} \cdot {a}^{1}\right) + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow-prod-up0.2
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(b \cdot b\right) + \left(\left(a \cdot a\right) \cdot \color{blue}{{a}^{\left(1 + 1\right)}} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow10.2
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(b \cdot b\right) + \left(\left(a \cdot \color{blue}{{a}^{1}}\right) \cdot {a}^{\left(1 + 1\right)} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow10.2
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(b \cdot b\right) + \left(\left(\color{blue}{{a}^{1}} \cdot {a}^{1}\right) \cdot {a}^{\left(1 + 1\right)} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow-prod-up0.2
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(b \cdot b\right) + \left(\color{blue}{{a}^{\left(1 + 1\right)}} \cdot {a}^{\left(1 + 1\right)} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow-prod-up0.1
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(b \cdot b\right) + \left(\color{blue}{{a}^{\left(\left(1 + 1\right) + \left(1 + 1\right)\right)}} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Simplified0.1
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(b \cdot b\right) + \left({a}^{\color{blue}{4}} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
- Using strategy
rm Applied pow10.1
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(b \cdot \color{blue}{{b}^{1}}\right) + \left({a}^{4} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow10.1
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \left(\color{blue}{{b}^{1}} \cdot {b}^{1}\right) + \left({a}^{4} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow-prod-up0.1
\[\leadsto \left(\left(\left(b \cdot b\right) \cdot \color{blue}{{b}^{\left(1 + 1\right)}} + \left({a}^{4} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow10.1
\[\leadsto \left(\left(\left(b \cdot \color{blue}{{b}^{1}}\right) \cdot {b}^{\left(1 + 1\right)} + \left({a}^{4} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow10.1
\[\leadsto \left(\left(\left(\color{blue}{{b}^{1}} \cdot {b}^{1}\right) \cdot {b}^{\left(1 + 1\right)} + \left({a}^{4} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow-prod-up0.1
\[\leadsto \left(\left(\color{blue}{{b}^{\left(1 + 1\right)}} \cdot {b}^{\left(1 + 1\right)} + \left({a}^{4} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Applied pow-prod-up0.0
\[\leadsto \left(\left(\color{blue}{{b}^{\left(\left(1 + 1\right) + \left(1 + 1\right)\right)}} + \left({a}^{4} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Simplified0.0
\[\leadsto \left(\left({b}^{\color{blue}{4}} + \left({a}^{4} + 2 \cdot \left(\left(a \cdot a\right) \cdot \left(b \cdot b\right)\right)\right)\right) + 4 \cdot \left(\left(a \cdot a\right) \cdot \left(1 + a\right) + \left(b \cdot b\right) \cdot \left(1 - 3 \cdot a\right)\right)\right) - 1\]
Final simplification0.0
\[\leadsto \left(\left(\left(1 - 3 \cdot a\right) \cdot \left(b \cdot b\right) + \left(a + 1\right) \cdot \left(a \cdot a\right)\right) \cdot 4 + \left(\left({a}^{4} + \left(\left(b \cdot b\right) \cdot \left(a \cdot a\right)\right) \cdot 2\right) + {b}^{4}\right)\right) - 1\]